MikhbarMIKHBAR
Artificial Intelligence

IBM Granite Switch 4.1 Brings Chat and Speech to One Endpoint

IBM has introduced Granite Switch 4.1, a modular model development approach that integrates chat, decision-making, and speech capabilities into a single hosted endpoint.

IBM Granite Switch 4.1 Brings Chat and Speech to One Endpoint

Unified Endpoint Capabilities

The [Granite Switch] project initially launched last spring to enable a modular approach to model development. Building on that foundation, the new Granite Switch 4.1 models combine a Decision adapter with an advanced speech recognition model to transition efficiently between natural-language responses, decision tasks, and speech-to-text operations from a single hosted endpoint.

Specifically configured variants include the [Granite-Switch-4.1-8B] and 30B models. These offerings bring together multiple technologies into a single composed model that occupies approximately the same VRAM footprint on a GPU as the underlying base model by itself, delivering expanded capabilities with fewer hardware resources.

Integrated Adapters and Architecture

The architecture of Granite Switch 4.1 incorporates three primary components: a new Decision aLoRA for general-purpose decision-making, a specialized Guardian aLoRA, and an embedded speech recognition component. According to evaluations, the Guardian aLoRA outperforms models such as Jev 1.13, Microsoft-Decision-1, GPT-Luna-Decisions, and Clef-Flash on safety-related decision tasks on average.

For transcription tasks, the models embed Granite-Speech-5.0-Turbo-CTC, noted as the fastest automatic speech recognition (ASR) model on the OpenASR Leaderboard. Because the switch adapters are implemented as cache-efficient Activated LoRAs, the key-value (KV) cache generated during base model execution can be reused for subsequent adapter-based operations.

Performance and Workflow Speed

Combined with recent vLLM contributions aimed at accelerating low-rank adapter inference alongside a co-located ASR encoder, Granite Switch 4.1 models can transition between chat prompts, decision requests, and spoken inputs rapidly. For example, the 8B variant can transcribe audio, generate summaries, screen for harmful content, and evaluate multiple generic flags simultaneously on a single endpoint in real time.

In comparative evaluations, a Granite-Switch-4.1-30B model utilizing a frozen base alongside four specialized aLoRAs completed a real-world, five-step retrieval-augmented generation (RAG) workflow significantly faster than a competitive configuration using a frozen base Qwen model paired with a generic decision LoRA.

Customization and Future Outlook

While the 8B and 30B models are released with predefined sets of helpful adapters, developers are not restricted to these precompiled configurations. Users can compose their own custom Granite Switch models by mixing and matching various adapters sourced from Granite Libraries to suit specific application requirements.

Looking ahead, plans include releasing an Adapter SDK for training adapters within Mellea, alongside supplemental tutorials and documentation. These tools will enable the community to build custom classification adapters, specialized language task handlers, or even experimental applications like running a 3B parameter Granite model capable of rapid decision-making while simultaneously answering questions and providing audio narration.

Sources

Continue chronologically