Two-phase flow regime identification is an essential transdisciplinary topic that spans digital signal processing, artificial intelligence, chemical engineering, and energy. Multiphase flow systems significantly impact pipeline safety, heat transfer, and pressure drop; therefore, precisely identifying the governing flow regime is crucial for effective modeling and design. However, it is challenging due to the geometrical complexity of flow regimes in multiphase flow. With the advances in sensor measurement and machine learning, applying non-destructive tests and self-supervised learning to practical industrial problems has become technically feasible and cost-effective. This study applies a weak-supervised learning-based two-phase flow regime identification solution using a non-destructive tests ultrasonic sensor in an S-shape riser experimental bed by proposing a self-supervised feature extraction algorithm. The proposed self-supervised feature extraction algorithm reduces time/labor consumption and human error in data annotation using SSL, which provides full supervision without manual annotation. The self-supervised feature extraction algorithm uses a bottlenecked neural network and encoder-decoder structure to extract compact features. The self-supervised feature extraction algorithm performance is evaluated using an established convolutional neural network-based classifier. The source data was collected from a 10 × 50 m riser experimental rig. The dataset is made available to the community as part of this study. The performance of the approach is comparable with state-of-the-art methods and is also the first successful attempt to apply self-supervised learning to multiphase flow regime ultrasonic signal identification. This study achieved 98.84%, 0.000663, 0.00312, and 7.71 × 105 in accuracy, root mean square error, categorical cross-entropy, and model complexity, respectively. The practical experiment justifies the robustness, fairness, and practicability in the practical application environment. The proposed self-supervised feature extraction brings new approaches and inspirations for the feature extraction step in identifying a two-phase flow regime, and it will be beneficial to generalize this study in different riser shapes in the future.