Nonlocal tests on multipartite quantum correlations form the basis of
protocols that certify randomness in a device-independent (DI) way. Such
correlations admit a rich structure, making the task of choosing an appropriate
test difficult. For example, extremal Bell inequalities are tight witnesses of
nonlocality, however achieving their maximum violation places constraints on
the underlying quantum system, which can reduce the rate of randomness
generation. As a result there is often a trade-off between maximum randomness
and the amount of violation of a given Bell inequality. Here, we explore this
trade-off for more than two parties. More precisely, we study the maximum
amount of randomness that can be certified by correlations exhibiting a
violation of the Mermin-Ardehali-Belinskii-Klyshko (MABK) inequality. We find
that maximum quantum violation and maximum randomness are incompatible for any
even number of parties, with incompatibility diminishing as the number of
parties grow, and conjecture the precise trade-off. We also show that maximum
MABK violation is not necessary for maximum randomness for odd numbers of
parties. To obtain our results, we derive new families of Bell inequalities
certifying maximum randomness from a technique for randomness certification,
which we call "expanding Bell inequalities". Our technique allows one to take a
bipartite Bell expression, known as the seed, and transform it into a
multipartite Bell inequality tailored for randomness certification, showing how
intuition learned in the bipartite case can find use in more complex scenarios.Comment: 14+18 pages, several figure