I am building neural network for predicting outcome of dota 2 match based on radiant and…
- User
I am building neural network for predicting outcome of dota 2 match based on radiant and dire heroes. OK. I use embedding layer for radiant and dire team with sum pooling. So I was advised to concatenate radiant and dire embedding after pooling and then pass concatenated layer to output layers. But, what I think is, that, since I use one embedding layer for both radiant and dire heroes, I need to inverse dire embeddings before concatenation to indicate that these heroes are on the opposite team. Another approach, what I think, is to use separate embedding layers for radiant and dire heroes. Which approach is better, how do you think?
Assistant
Your intuition about the asymmetry problem is spot-on. Since Dota 2 is fundamentally about two opposing teams, the model needs to understand that the same hero on different sides should be treated differently.
Between your two approaches, separate embedding layers for radiant and dire is generally the better choice. Here's why:
Separate embeddings approach:
- Each hero learns distinct representations for when they're on radiant vs dire side
- Naturally captures side-specific advantages (radiant historically has slight winrate advantage due to map asymmetry)
- Allows the model to learn different strategic values for heroes depending on their side
- More parameters, but also more expressive power
Single embedding with inversion:
- The inversion operation (negation) is quite crude and may not capture the nuanced differences between sides
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.