OpenAutoNLU: Open Source AutoML Library for NLU
Organizations: MWS AI · ITMO University · MBZUAI
Abstract
OpenAutoNLU is an open-source automated machine learning library for natural language understanding (NLU) tasks, covering both text classification and named entity recognition (NER). Unlike existing solutions, we introduce data-aware training regime selection that requires no manual configuration from the user. The library also provides integrated data quality diagnostics, configurable out-of-distribution (OOD) detection, and large language model (LLM) features, all within a minimal lowcode API. The demo app is accessible here https://openautonlu.dev.
Figures & tables
| H2O | Light AutoML | Auto Gluon | Auto Intent | OpenAuto NLU | |
|---|---|---|---|---|---|
| Approach | TAML & Word2Vec | TAML & embeddings | Encoder finetuning | Embeddings | Encoder finetuning |
| Scarce train data | Has small-data modes | Adaptable | Adapted for small datasets | Designed for classes with 2 examples | |
| Custom search pipeline | Flexible API | HP presets | HP presets | Presets & customizable configs | Universal customizable preset |
| LLM Integrations | Zero-shot classification | Train data augmentations and test set generation | |||
| OOD detection | Train examples required, one method | Train examples are optional, configurable | |||
| Optimized for NLP production | Requires preprocessing; Java, Python, R support | ✓ | ONNX native; inference in two lines |
| Framework | Preset | Banking77 | HWU64 | MASSIVE | SNIPS | ||||
|---|---|---|---|---|---|---|---|---|---|
| Macro | OOD | Macro | OOD | Macro | OOD | Macro | OOD | ||
| OpenAutoNLU | supervised | 0.905 | 0.362 | 0.893 | 0.276 | 0.875 | 0.471 | 0.928 | 0.782 |
| OpenAutoNLU | unsupervised | 0.912 | 0.433 | 0.890 | 0.378 | 0.876 | 0.515 | 0.921 | 0.761 |
| AutoIntent | CL & unsupervised | 0.869 | - | 0.829 | - | 0.755 | - | 0.786 | - |
| AutoIntent | CL & supervised | 0.774 | 0.156 | 0.728 | 0.196 | 0.683 | 0.366 | 0.771 | 0.662 |
| AutoIntent | CM & supervised | 0.819 | 0.179 | 0.728 | 0.196 | 0.683 | 0.366 | 0.829 | 0.707 |
Appendix figures & tables4 assets
Supplementary material from the paper’s appendix.
Appendix
| N-shot | Original | Generated | (pp) |
|---|---|---|---|
| 0.667 | 0.699 | +0.032 | |
| 0.655 | 0.637 | -0.017 | |
| 0.779 | 0.759 | -0.02 | |
| 0.808 | 0.790 | -0.018 | |
| 0.709 | 0.561 | -0.148 | |
| Full | 0.759 | 0.690 | -0.689 |
| Framework | Banking77 | HWU64 | MASSIVE | SNIPS |
|---|---|---|---|---|
| OpenAutoNLU | 0.912 | 0.890 | 0.876 | 0.921 |
| AutoGluon | 0.920 | 0.902 | 0.861 | 0.763 |
| AutoIntent | 0.869 | 0.829 | 0.755 | 0.786 |
| LightAutoML | 0.907 | 0.900 | 0.841 | 0.761 |
| H2O | 0.645 | 0.642 | 0.701 | 0.778 |
| Framework | Banking77 | HWU64 | MASSIVE | SNIPS | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 5-10 | 40-80 | Full | 5-10 | 40-80 | Full | 5-10 | 40-80 | Full | 5-10 | 40-80 | Full | |
| OpenAutoNLU | 0.727 | 0.881 | 0.920 | 0.747 | 0.753 | 0.902 | 0.666 | 0.711 | 0.886 | 0.607 | 0.890 | 0.953 |
| AutoIntent | 0.808 | 0.848 | 0.782 | 0.782 | 0.830 | 0.737 | 0.660 | 0.751 | 0.689 | 0.813 | 0.826 | 0.789 |
| AutoGluon | 0.598 | 0.911 | 0.935 | 0.625 | 0.899 | 0.923 | 0.508 | 0.824 | 0.885 | 0.696 | 0.868 | 0.915 |
| LightAutoML | 0.524 | 0.891 | 0.922 | 0.555 | 0.891 | 0.920 | 0.425 | 0.824 | 0.865 | 0.659 | 0.867 | 0.913 |
| H2O | 0.159 | 0.612 | 0.654 | 0.272 | 0.632 | 0.652 | 0.398 | 0.616 | 0.635 | 0.549 | 0.810 | 0.908 |
| Primary dataset | Far OOD source |
|---|---|
| Banking77 | HWU64 |
| HWU64 | Banking77 |
| MASSIVE | Banking77 |
| SNIPS | Banking77 |
Automated Machine Learning
Automated machine learning (AutoML) builds and tunes data-to-model pipelines with minimal manual effort, balancing predictive quality, compute, and deployment constraints.
See all 96 papers