The words vagary and caprice can be used in similar contexts, but vagary stresses the erratic, irresponsible character of the notion or desire. // he had been prone to strange vagaries