Lithology identification by adaptive feature aggregation under scarce labels