1. A computerized method comprising: in a training phase: obtaining a plurality of sample labeled member profiles with sample missing attribute values identifying attribute values missing from the sample labeled member profiles; for each of the plurality of sample labeled member profiles: extracting one or more features from the sample labeled member profile; feeding the extracted one or more features and the sample missing attribute values into a machine learning algorithm to train an attribute inference model to output attribute values for the sample missing attribute values based on the extracted one or more features; in an attribute inference phase: obtaining an identification of a member of a social networking service retrieving, using the identification, a member profile corresponding to the member of the social networking service; passing the member profile to the attribute inference model to generate one or more attribute values for attribute values missing in the member profile; modifying a collection flow, defined in a user interface of a computing device, based on the generated one or more missing attribute values, the collection flow defining a sequence of screens for collecting confidential data; and presenting the modified collection flow to the member in the user interface to collect confidential data from the member.