[Paper Review] openXBOW - Introducing the Passau Open-Source Crossmodal Bag-of-Words Toolkit
openXBOW is an open-source Java toolkit for generating crossmodal bag-of-words (BoW) representations from multimodal data, including text, audio, and visual features. It enables histogram-based feature fusion via vector quantization and TF-IDF weighting, achieving state-of-the-art performance in both speech-based emotion recognition and Twitter sentiment analysis, outperforming prior methods in both tasks.
We introduce openXBOW, an open-source toolkit for the generation of bag-of-words (BoW) representations from multimodal input. In the BoW principle, word histograms were first used as features in document classification, but the idea was and can easily be adapted to, e.g., acoustic or visual low-level descriptors, introducing a prior step of vector quantisation. The openXBOW toolkit supports arbitrary numeric input features and text input and concatenates computed subbags to a final bag. It provides a variety of extensions and options. To our knowledge, openXBOW is the first publicly available toolkit for the generation of crossmodal bags-of-words. The capabilities of the tool are exemplified in two sample scenarios: time-continuous speech-based emotion recognition and sentiment analysis in tweets where improved results over other feature representation forms were observed.
Motivation & Objective
- To address the lack of publicly available tools for generating crossmodal bag-of-words representations from heterogeneous data modalities such as text, audio, and visual features.
- To enable researchers to easily generate fused BoW representations by combining multiple modalities through histogram-based vector quantization and TF-IDF weighting.
- To provide a flexible, open-source framework that supports various feature types, quantization methods, and preprocessing options for multimodal machine learning tasks.
- To demonstrate the effectiveness of crossmodal BoW representations in real-world applications, including emotion recognition and sentiment classification.
- To lay the foundation for future extensions, including soft clustering and temporal modeling techniques.
Proposed method
- The toolkit processes input data in ARFF, CSV, or LIBSVM formats, supporting both numeric features (e.g., MFCCs, LLDs) and text inputs.
- It applies optional preprocessing steps, such as voice activity detection and feature normalization, to improve representation quality.
- Vector quantization is performed using a codebook generated via k-means or random sampling, with options for hard or soft quantization (e.g., EM clustering in future extensions).
- Term frequency and TF-IDF weighting are applied to reduce the impact of rare or overly frequent terms, improving discriminative power.
- For text, n-grams (up to 2-grams) and term frequency filtering (via minTermFreq and maxTermFreq) are supported to refine the dictionary.
- Final feature vectors are formed by concatenating modality-specific histogram representations, enabling multimodal classification with standard classifiers like SVM.
Experimental results
Research questions
- RQ1Can a unified, open-source toolkit effectively generate crossmodal bag-of-words representations from diverse input modalities such as text, audio, and visual features?
- RQ2How does the performance of openXBOW-generated BoW features compare to existing feature representations in multimodal emotion recognition and sentiment analysis tasks?
- RQ3To what extent do preprocessing steps like normalization and term frequency filtering improve classification accuracy in crossmodal BoW frameworks?
- RQ4Can openXBOW support flexible, extensible feature engineering for both monomodal and multimodal applications in a single, unified pipeline?
- RQ5What is the potential of openXBOW for future integration of advanced techniques like soft clustering and temporal modeling in crossmodal representation learning?
Key findings
- In time-continuous speech-based emotion recognition, openXBOW achieved improved performance over baseline feature representations, demonstrating its effectiveness in multimodal affect recognition.
- For Twitter sentiment analysis, openXBOW achieved a weighted accuracy of 77.28% and unweighted accuracy of 77.29% using a linear SVM, outperforming the reported state-of-the-art accuracy of 75%.
- The optimal dictionary size was found to be 1,875 terms, using a minimum term frequency of 500 and maximum term frequency of 100,000 to filter irrelevant terms.
- Surprisingly, the use of 2-grams did not improve performance; unigram representations alone yielded the best results in the sentiment classification task.
- The toolkit supports both online and offline processing, with normalization and weighting parameters stored in the codebook for consistent application to test data.
- The authors confirm that openXBOW is the first publicly available toolkit for crossmodal bag-of-words representation, filling a critical gap in multimodal machine learning tooling.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.