A better model is expected to give higher probability to sentences in the test set, that is, lower perplexity.
this measure is not always well aligned with the quality of a language model as it should be.