completed Jan 2023 - May 2024

Fusion Flow: Multimodal Supported Chatbot Framework for People with Aphasia

#Chatbot #Multimodality #Intent Classification #Aphasia #Accessibility #Gesture Recognition
Fusion Flow: Multimodal Supported Chatbot Framework for People with Aphasia

Overview

Aphasia is a neurological disorder that affects the language and communication abilities of people who have suffered a stroke, traumatic brain injury or other neurological conditions, causing difficulties in speaking, understanding spoken language, reading and writing. Conventional chatbots, including navigational assistants on websites, assume a natural flow of text-based conversation and rely on a single input modality, which makes them difficult to use for people with communication disabilities.

Fusion Flow addresses this gap with a multimodal chatbot framework that accepts text, audio, video (hand gestures) and click inputs to support website navigation. Audio is transcribed with the Whisper base model, gestures are recognised with a MediaPipe-based gesture recogniser, and text and transcribed utterances are mapped to website intents through semantic search over sentence-transformer embeddings stored in the txtai embeddings database. A decision-level fusion component combines the intents and confidence scores from all modalities, prioritising click and gesture inputs, and passes the most suitable intent to a Rasa Core dialogue manager that generates the response. The system is delivered as a WordPress plugin backed by a Flask service, and was developed in collaboration with La Trobe University's Research Centre for Data Analytics and Cognition (CDAC) for the Australian government-funded Communication Connect Platform.

Motivation & Objectives

There are over 250,000 Australians living with aphasia, and many more worldwide, who often depend on several modalities such as speech, text and gestures to express themselves. Existing chatbots do not support all of these modalities simultaneously, leaving these users without an accessible way to find the content they need on information-rich websites. The project pursued three objectives:

Multimodal Chatbot Development – To develop a chatbot that accepts video, audio, text and mouse-click inputs for website navigation while maintaining robustness.

Intent Classification – To classify each user utterance into a website intent together with a confidence score that can be evaluated by the fusion model.

Fusion of Modalities – To combine the intents derived from audio, video, text and clicks in order to identify the user's intent more accurately and generate an appropriate response.

Impact & Results

Performance

The gesture recognition model, a dense neural network trained on approximately 4,200 MediaPipe hand-landmark samples, achieved an overall accuracy of 0.86 on a 1,050-sample test set (macro F1-score 0.88). For intent classification, five sentence transformers were compared, and distiluse-base-multilingual-cased-v2 was selected with a precision of 1.0, recall of 0.889 and F1-score of 0.941, ahead of nli-mpnet-base-v2 (F1 0.882) and paraphrase-MiniLM-L6-v2 (F1 0.824). For transcription of aphasic speech, Whisper models obtained word error rates between 0.3153 (Large) and 0.3829 (Small), substantially lower than wav2vec2-base-960h (0.5292) and wav2vec2-large-960h (0.5831); Whisper/Base (WER 0.3617) was adopted as the deployed transcription model.

Key Contributions

Multimodal Navigational Chatbot Framework

A chatbot architecture that accepts text, audio, gesture and click inputs simultaneously and fuses their intents at the decision level, packaged as a reusable WordPress plugin with a Flask backend.

Gesture Recognition Models

Two MediaPipe-based approaches for recognising numeric hand gestures: a trained neural network classifier and an algorithmic finger-counting method.

Model Selection for Aphasic Users

Empirical comparisons of Whisper and wav2vec2 transcription models on aphasic speech and of sentence transformers for semantic intent classification, guiding the choice of components for accessible chatbots.

Real-world Impact

The framework demonstrates how multimodal interaction can make web content more accessible to people with aphasia and other communication disabilities. Built for La Trobe University's Communication Connect Platform, it can be customised for any WordPress website and is equally usable by people without communication disabilities. Future work includes fine-tuning the gesture recognition and transcription models on data from people with aphasia and extending gesture support beyond numbers.

Gallery

Project team presenting the chatbot at CSE Careers Day, University of Moratuwa

Project team presenting the chatbot at CSE Careers Day, University of Moratuwa

Team members with the project poster

Team members with the project poster

Project poster: Multimodal Supported Chatbot Framework for People with Aphasia

Project poster: Multimodal Supported Chatbot Framework for People with Aphasia

Project Team

R

R.L.A. Sanduni Ayesha

Undergraduate Researcher

Contributed to the design and development of the multimodal chatbot framework for people with aphasia.

L

L.B. Hasini M. Vijayarathna

Undergraduate Researcher

Contributed to the design and development of the multimodal chatbot framework for people with aphasia.

N

N.P.A. Vithanage

Undergraduate Researcher

Contributed to the design and development of the multimodal chatbot framework for people with aphasia.