Lee, S.I., Shin, D. orcid.org/0000-0002-0840-6449 and Park, J. (Accepted: 2025) Unseen data detection using routing entropy in mixture-of-experts for autonomous vehicles. In: Proceedings of the 40th IEEE/ACM International Conference on Automated Software Engineering, ASE 2025. 2025 40th IEEE/ACM International Conference on Automated Software Engineering (ASE 2025), 16-20 Nov 2025, Seoul, South Korea. Institute of Electrical and Electronics Engineers (IEEE). ISSN: 1938-4300. EISSN: 2643-1572. (In Press)
Abstract
Unseen data that differ significantly from the training data can cause machine learning models to behave unpredictably, which is particularly problematic in safety-critical systems like autonomous vehicles. Detecting such data, commonly called out-of-distribution (OOD) data, is essential for ensuring the robustness of these models. Existing methods often rely on the model’s final output, which are limited since the model can be overconfident on unseen data. In this paper, we propose Routing Entropy, a novel OOD detection method that leverages the internal routing behavior of Mixture-of-Experts (MoE) models, a design increasingly adopted in modern neural networks. We hypothesize that MoE models exhibit high confidence routing for in-distribution (ID) inputs, but greater uncertainty for OOD inputs. We quantify this uncertainty by calculating the entropy of the routing scores for a given input. Experimental results on a MoE-based semantic segmentation model used for perception in autonomous driving demonstrate that Routing Entropy is effective on its own and, more importantly, provides a complementary signal to existing output-based methods. Combining Routing Entropy with an existing method significantly improves OOD detection performance. These results suggest that leveraging internal routing behavior of MoE models is a promising direction for robust OOD detection.
Metadata
Item Type: | Proceedings Paper |
---|---|
Authors/Creators: |
|
Copyright, Publisher and Additional Information: | © 2025 The Author(s). |
Keywords: | Out-of-distribution detection; uncertainty quantification; mixture-of-experts; routing entropy |
Dates: |
|
Institution: | The University of Sheffield |
Academic Units: | The University of Sheffield > Faculty of Engineering (Sheffield) > Department of Computer Science (Sheffield) |
Funding Information: | Funder Grant number ENGINEERING AND PHYSICAL SCIENCE RESEARCH COUNCIL EP/Y014219/1 |
Depositing User: | Symplectic Sheffield |
Date Deposited: | 19 Sep 2025 11:11 |
Last Modified: | 19 Sep 2025 11:11 |
Status: | In Press |
Publisher: | Institute of Electrical and Electronics Engineers (IEEE) |
Refereed: | Yes |
Related URLs: | |
Open Archives Initiative ID (OAI ID): | oai:eprints.whiterose.ac.uk:231675 |
Download
Filename: 2025_ASE_NIER_MoEUncertainty_CC.pdf
