A binary attention bias is a learned additive bias that tells attention whether two positions belong to the same variate or to different variates. It supports flattening multivariate inputs into one sequence without losing series identity. section 6.1.1
The mechanism separates relationships using variate indices:
- For matching indices, the model adds the learnable same-variate parameter u(1). section 6.1.1
- For different indices, the model adds the learnable cross-variate parameter u(2). section 6.1.1
- This lets attention distinguish historical values from a target series and information from other series or exogenous features. section 6.1.1
Figure 6.3 To handle an arbitrary number of variates, Moirai flattens the data into a single series.
The flattening diagram shows why series identity must be encoded after multiple variates become one sequence. section 6.1.1
