Abstract & Overview
The method of analysis and formation of representative sets of text data using machine learning models was developed, intended for analysis and formation of representative text samples of data according to the principle of fairness of FATE for subject areas. The method performs an analysis of representativeness of data sample according to ethical aspects, as result of which a representative adjustment of the dataset according to ethical aspects is performed. When adjusting the dataset, the optimization problem is solved both for the selection of redundant elements for removal, and for formation of requirements for ethical aspects of belonging to each element for data augmentation. To investigate the effectiveness of analysis method and the formation of a representative presentation of the text dataset, software was created that uses machine learning models to classify texts according to various ethical aspects - age, gender, religion, ethnicity, etc. Machine learning models were used to classify text samples by ethical aspects in the sample: by age ethical aspect SVM, gender – LSTM, religious – BERT, which are the best indicators of statistical metrics. As a result of the practical application of the developed method, the test dataset, unrepresentative compared to the objective data of demographic statistics, was transformed into a representative one in terms of age and gender ethical aspects. The obtained deviations of the sample distributions by classes of ethical aspects of the dataset transformed according to the created method from the ideal representative distribution were: minimum 0.00%, maximum 0.04%, average 0.02%, under the conditions of the initial volume of the dataset 47,692 elements, the minimum initial number of samples in the class 1007 elements, the maximum initial number of samples in the class is 28,112 elements. The studied efficiency proves that developed method allows performing the analysis of the representativeness of text datasets and bringing them to a representative look according to various aspects of FATE principle of justice.