The paper addresses the limitations of existing out-of-distribution (ood) detection models, particularly under high data uncertainty, by proposing a novel loss function that maximizes the representation gap between in-domain and ood examples. It introduces a multi-modal Dirichlet distribution to model distributional uncertainty more effectively, leading to improved performance in ood detection. Experimental results demonstrate that the proposed method consistently outperforms existing approaches.