Accurate recognition of coal-rock properties (CRPs) while drilling is a critical prerequisite for ensuring the intelligent control and stable operation of antipunching drilling robot. The primary challenges in industrial applications are potential safety hazards and single drilling mode in coal mine roadways, resulting in samples with insufficient number, unbalanced distribution, and background interference. However, most current CRPs recognition methods rely on sufficient and balanced samples,