What can I do to improve my metadata matches?

On the same note, how are compilations identified during scanning?