Every vector you can make as a weighted sum of the given vectors.
In ML papers
span{v1,…,vk} is the set of all linear combinationsc1v1+⋯+ckvk for any numbers ci. Two vectors that point in different directions span a plane; one vector spans a line.
Papers use it to talk about subspaces: the column space of W is the span of its columns, and its dimension is the Rank of W. An attention output, a weighted sum of value vectors, always lies in the span of those values.
How to type it
LaTeX
Shows
\operatorname{span}\{\mathbf{v}_1, \mathbf{v}_2\}
span{v1,v2}
\operatorname{Span}(S)
Span(S)
A worked example
span{(1,0),(0,1)}=R2,span{(1,2)}={(c,2c)}
Two independent vectors fill the plane; one vector gives only the line through it.