Lofty is the odd one out because it means high, elevated, or noble (in abstract sense like lofty ideals or goals), while trivial, petty, and frivolous all mean insignificant, minor, or lacking value/importance. Lofty represents high value or status, while the others suggest low value.