Hello everyone. As many of you know, I tried to build a model for predicting the results of matches this MPL, and as many of you know, those predictions have not really gone spectacularly well. So in this post, I would like to show you all how I managed the accomplishment of making the worst* predictions and what some takeaways might be about the importance (or lack thereof) of player pricing in MPL.
The Basic Idea
The model that I wanted to construct would take only two inputs: the player's auction price and their win-loss record during the tournament. This is the simplest possible model that takes into account both pre-tournament expectations and in-tournament performance. There were several reasons I decided to go with this type of model, but probably the most important one was simply convenience. The tournament sheet is laid out in a way that makes extracting price and record information very easy:
With the two inputs, the model then computes a "final price" that reflects the player's updated value taking into account their tournament results. In practice, this means that a player's value will change throughout the tournament, going up on a win and down on a loss. This updated value is what I used to make predictions.
Math Details
Math Details
This model can be considered a Bayesian model with the initial price being the prior, the record being akin to likelihood, and the final value the posterior. In order to make this work, there needed to be a way to convert auction price into win probability, and there are infinitely many functions that can do this. I started with these assumptions:
- A player with initial price 3000 has a win probability of 32.5%.
- A player with initial price 30000 has a win probability of 67.5%.
- Player skill scales based on log(price).
A simple linear model using these assumptions is:
As game results can be considered as Bernoulli trials, the Bayesian update is well-represented by the Beta distribution. The Beta distribution takes two parameters and has the property that the mean of Beta(a,b) is a/(a+b). Assert that the prior win probability is of the form
Here, k is a parameter that determines how quickly player value responds to new results. Smaller k leads to more drastic moves. I chose k=15 for this model. The posterior win probability is therefore given by
Some consequences of this model are that a low-price player who wins has a larger (percent) move than a high-price player on a win. Similarly, a high-price player has a larger (percent) move on a loss than a low-price player. This is because it is less surprising that someone with, say, a 40% win rate would lose compared to someone with a 60% win rate. The price at which the win rate is modeled to be 50% is around 9500, so if a player goes even, they would have increased value if their initial price was lower than 9500 and decreased value if their initial price was higher.
Results
Well, just looking at
the ranking says a lot. Indeed, a -10 correctness score was quite surprising to me. It should be mentioned, though, that this score was the result of 143 predictions, which is quite a lot more than many of the other players with negative prediction records. In fact, if ranked by accuracy, my model is "only" the fourth-worst predictor with an
overall accuracy of 46.5%. Furthermore, with a margin of error of about 8% at 95% confidence, the results are not statistically significantly different from just flipping a coin. Of course, this is not the result I was hoping for.
The other aspect of the rankings is profit where the numbers look even more stark. It should again be mentioned that due to making so many more predictions than other fellow gamblers, my profit per game is not nearly so dire at -257 credits per prediction. Having a negative profit though was not surprising at all as predicting the favorite to win is usually a profit-minimizing strategy. A profit-maximizing strategy takes all the unpopular bets and strategically skips games if both sides' odds are not favorable. I was only concerned about correctness.
So what caused this model to do so poorly?
Technical Issues
These issues are those with the way I designed the model as opposed to issues with the choice of model itself. I don't believe these were a major factor in my model's underperformance.
Spoiler
(1) Faulty assumptions.
The fixed values I set for converting price to win probability were completely arbitrary. A survey of past tournaments could have potentially given better values to use, though the effectiveness of doing this is still somewhat questionable.
(2) Poor choice of parameters.
After deciding on the structure of the model, the only parameter involved, k, determined how quickly a player's value should respond to new results. I decided on this parameter by testing different scenarios and deciding which price changes felt the most reasonable in an MPL context. With my choice of k=15, a player with initial price 10000 would jump to 12242 after going 1-0. This was nonetheless a subjective judgment, and a more rigorous way of choosing k would be to test the model on past tournaments and see which k gave the best results.
Fundamental Issues
These issues are ones that no amount of parameter-tuning would have fixed. I believe the model poorly represented the MPL landscape as a whole due to being unable to consider many relevant factors.
(1) Auction price doesn't reflect skill.
Spoiler
This graph shows every player in MPL based on their initial price and their wins / games played. Notably,
this is completely independent from my model; this
only uses the actual auction price and the players' actual records. If auction price was a reliable indicator of performance, we would expect a line going from the bottom-left to the top-right. Instead, we see no discernible pattern at all. This is confirmed by regression. R^2=0.001 indicates no correlation and a slope of 10^-6 means that initial price has almost no effect on performance.
This means that the entire fundamental basis for the model is questionable. In fact, whether price actually affects performance at all is unclear. If nothing else, this should be a confidence booster for players who are playing in a team tour for the first time.
Math
I used weighted least squares regression to account for the fact that different players played a different number of games. Compared to ordinary least squares, each point is weighted by the number of games they played so the line wouldn't be drastically affected by 1-0 players. I also tried filtering by players who have only played a certain number of games and the patterns remain weak. Hilariously, when filtering by players who only played at least 6 games, the relationship even becomes
negative (although R^2 = 0.01 is of course unconvincing).
(1a) Factors other than skill affect price
This should be well-known to tournament players. Being a good builder, a good presence in the server, and being able to play multiple tiers are just a few of the factors that might drive up a player's price. When a player is nominated has an impact. Even just being upbid has an impact.
(2) Strength of schedule isn't considered.
Spoiler
What matters is not just what record you have but how you got there. Losing to a 3000 price player should be more informative than losing to a 22000 price player. The main reason I didn't choose to consider strength of schedule in this model is because it would have been too complicated to implement as it would require keeping track of every matchup and their order throughout the entire tournament.
A well-known model that includes strength of schedule is the Elo system. Perhaps an Elo-esque model could be used here, though how effective it would be over only 7 weeks is unclear. Past tournaments could be included as well, though again this drastically increases the complexity.
(3) Matchup and luck aren't considered.
Similar to (2). Self-explanatory.
(4) Managers and retain prices are not determined by auction.
Alleging that the auction process causes prices to reflect skill is a lot more difficult when some players have a fixed price that is not established by auction.
(5) The final bid.
Spoiler
If a team has 3500 credits left, it is customary to spend all 3500 on the last player rather than leaving 500 unspent. If a team has 6500 credits left for two players, it is customary to spend 3000 on the first one and (see previous sentence) 3500 on the second. As a result, the player who is (presumably) more valuable gets a lower price. My model will always prefer the 3500 player even if it doesn't truly reflect how their skill levels actually compare.
(6) Different gens could follow different patterns.
The win probability implied by a 20000 price in SV could be different from a 20000 price in BW. My model uses a fixed formula for all gens.
All of these shortcomings combined to make my model rather incomplete. Of course, such a simple model could not have hoped to capture everything. There are many possible ways to improve the model which would generally require using information that I didn't use here:
- Including opponents' value into account when updating prices. (~Elo system)
- Use historical data to choose better parameters or make better initial assumptions. Can give a higher k parameter to more established players, for instance.
- Use a subjective evaluation of how each game was played and treat matchup/luck losses differently. This would require watching every game.
Here are some fun graphs for you all
For all of these, the remaining games of finals could change things somewhat
Every player based on their initial auction price and the new price predicted by the model (y=x line included):
The percent change in each player's value. Congrats to the following players who have doubled their value according to the model:
- Thanos (Treeckos, 4000 -> 9571: +139%)
- Splash (Clefables, 4500 -> 10420: +132%)
- Luisin (Clefables, 4500 -> 10335: +130%)
- Leafeonlol (Browts, 3000 -> 6552, +118%)
- NoName6293 (Meloettas, 3000 -> 6288, +110%)
- vk (Dreamers, 6500 -> 13550, +108%)
- terrors (Mega Sols, 6500 -> 13136, +102%)
The number of games each player has played, organized by team.
Overall, this was an incredibly fun experience. Thanks to
ArkenCiel for handling all the predictions throughout the tournament and thank you for reading!