A new algorithm FastGM speeds up generating Gumbel-Max variables.
problem Efficiently generating multiple Gumbel-Max variables from high-dimensional vectors.
method FastGM reduces time complexity from to by generating variables in descending order.
result Significantly reduces computation time for generating Gumbel-Max variables.