In the process of lithology discrimination from a conventional well logging dataset, the imbalance in sample distribution restricts the accuracy of log identification, especially in the fine-scale reservoir intervals. Enhanced sampling balances the distribution of well logging samples of multiple lithologies, which is of great significance to precise fine-scale reservoir characterization. This study employed data over-sampling and under-sampling algorithms represented by the synthetic minority over-sampling technique (SMOTE), adaptive synthetic sampling (ADASYN), and edited nearest neighbors (ENN) to process well logging dataset. To achieve automatic and precise lithology discrimination on enhanced sampled well logging dataset, support vector machine (SVM), random forest (RF), and gradient boosting decision tree (GBDT) models were trained using cross-validation and grid search methods. Aimed to objectively evaluate the performance of different models on different sampling results from multiple perspectives, the lithology discrimination results were evaluated and compared based on the Jaccard index and F1 score. By comparing the predictions of eighteen lithology discrimination workflows, a new discrimination process containing ADASYN, ENN, and RF has the most precise lithology discrimination result. This process improves the discrimination accuracy of fine-scale reservoir interval lithology, has great generalization ability, and is feasible in a variety of different geological environments.