Skip to content
NVIDIA Generative AI Multimodal Associate (NCA-GENM) Exam Prep

Lesson 4 of 7 · 15 min

x
4/7

Multimodal Data (15%)

Video lesson: NCA-GENM Domain 4: Multimodal Data

Official exam topics: exam-guide/nca-genm-exam-page.md ("Multimodal Data"). NVIDIA defines this area as the integration, curation and quality assessment of diverse data types such as text, images, audio, time series and geospatial information, while also addressing challenges related to missing or incomplete information across these different modalities. The topic list under this area is about building and running multimodal applications: RAG and chatbots, Python packages, choosing components, deployment, monitoring and scripts. The reading list adds the data side: NVIDIA Riva ASR, early vs late fusion, CLIP, multimodal data fusion, RAG, spaCy, NumPy, Keras, MLflow and Triton Inference Server. This file covers both: how modalities are combined, then how applications use them. Data quality checks and preprocessing are taught in D3; trustworthy data handling in D7.

Exam topics in this domain 1. 4.1 Integrate modalities: early, intermediate and late fusion; shared embedding spaces 2. 4.2 Handle missing or incomplete modalities 3. 4.3 Build LLM use cases such as RAG, chatbots and summarizers (multimodal RAG) 4. 4.4 Python packages: spaCy, NumPy, Keras, vector databases, for traditional ML and NLP analyses 5. 4.5 Identify the data, hardware and software components that meet user needs (including Riva ASR) 6. 4.6 Assist in deploying and evaluating scalability, performance and reliability 7. 4.7 Monitor data collection, experiments and other software processes 8. 4.8 Write software components or scripts under a senior team member's supervision

Checked against NVIDIA documentation (November 2026). - NVIDIA Riva is a GPU-accelerated SDK for speech AI: ASR (speech to text), TTS (text to speech) and neural machine translation, with streaming and offline modes. Riva models are also offered as NIM microservices. - NVIDIA Triton Inference Server (also branded NVIDIA Dynamo-Triton since 2025) serves models from many frameworks and supports ensembles and business logic scripting (BLS) for multi-step pipelines. - NIM microservices are prebuilt, optimized inference containers with industry-standard APIs (OpenAI-compatible for LLMs and VLMs).

4.1 Integrating Modalities: Fusion

The Multimodal Machine Learning survey (Baltrušaitis et al.) names five core challenges: representation (encode each modality), translation (map one modality to another, such as captioning), alignment (match parts across modalities, such as words to image regions or subtitles to audio), fusion (combine them for a prediction) and co-learning (transfer knowledge from a data-rich modality to a poorer one).

Fusion strategies (Early Fusion vs. Late Fusion, DLI Building AI Agents With Multimodal Models)

StrategyHowStrengthsWeaknesses
Early fusion (feature-level)Combine raw inputs or low-level features before the model (concatenate sensor channels, stack camera and depth images)Learns fine-grained cross-modal interactionsNeeds aligned, synchronized data; sensitive to a missing modality; inputs on different scales
Intermediate fusion (joint, mid-level)Encode each modality separately, then merge the embeddings inside the network (concatenation, cross-attention, gating) and train jointlyThe usual choice for deep models; flexible; each encoder can be pretrainedMore complex; needs fusion design
Late fusion (decision-level)Run separate models per modality and combine their outputs (average or weighted probabilities, voting, a small meta-model)Simple, modular, tolerates a missing modality, each model trained on its own dataMisses interactions between modalities

The DLI course demonstrates early and late fusion with camera (RGB) and LiDAR data to predict object positions.

Shared embedding spaces (CLIP: Connecting Text and Images) - CLIP trains an image encoder and a text encoder with a contrastive loss so matching images and captions land close together (D1.4). - Once trained, the shared space supports zero-shot classification (compare an image to "a photo of a {label}" prompts), text-to-image and image-to-text search, and filtering data by caption match. - Similar ideas link audio and text (CLAP) and several modalities at once. - Projection maps one model's embeddings into another's input space: a vision encoder's patch embeddings projected into an LLM's token-embedding space is the core of most vision language models (D1.6).

Alignment in time and space - Synchronize streams by timestamp (video frames, audio, subtitles, sensors); resample to a common rate. - Register images spatially when fusing sensors (camera–LiDAR calibration, satellite layers in the same coordinate reference system). - For geospatial data, align coordinate systems and resolution before stacking layers.

4.2 Missing or Incomplete Modalities

ApproachHow
Drop incomplete itemsSimple; acceptable only if few are missing and missingness is random, otherwise it biases the data
Impute the modalityReplace with a learned or mean embedding, or generate it (caption an image to fill a missing description)
Masking + missing indicatorZero the missing branch and tell the model it's missing
Modality dropout in trainingRandomly drop modalities during training so the model learns to cope at inference
Late fusionCombine only the available models' outputs
Cross-modal generationPredict one modality from another (speech → text with ASR, image → text with captioning)

Always evaluate the model with each modality removed (D3) and report how much performance drops. In production, monitor the missing-modality rate per source (4.7).

4.3 Multimodal RAG, Chatbots and Summarizers

Text RAG recap Chunk documents → embed with an embedding model → store in a vector database → at query time embed the question, retrieve the top-k chunks (optionally rerank) → put them in the prompt → the model answers grounded in the context with citations. RAG reduces hallucination and adds fresh or private knowledge without retraining (Prompt Engineering Guide, What Is Retrieval-Augmented Generation).

Making RAG multimodal | Approach | How | Trade-off | |---|---|---| | Embed all modalities in one space | Use a multimodal embedding model (for example CLIP) for images and text; one index | Simple retrieval across modalities; weaker on text-heavy images such as charts and scans | | Ground everything in text | OCR scanned pages, caption images and charts with a VLM, transcribe audio and video with ASR, convert tables to text; embed the text | Works with any text embedding model and LLM; descriptions can lose detail | | Separate stores + reranker | An index per modality, results merged and reranked | Best quality per modality; more moving parts |

The generator is then an LLM (for text-grounded context) or a VLM that receives the retrieved images directly. Keep source metadata (file, page, timestamp, region) so answers can cite where they came from.

The DLI course builds this: OCR on PDFs, vector stores for retrieval, and orchestration of several models as an agent; NVIDIA AI Blueprints (for example the PDF-to-podcast and video search and summarization blueprints) package similar pipelines.

Multimodal chatbots and summarizers - A chatbot keeps conversation history (images included), sends images in the model's expected message format, and applies guardrails to both text and images. - A video summarizer samples frames, captions them with a VLM, transcribes the audio with ASR, and summarizes the combined timeline with an LLM, chunking long videos and summarizing hierarchically (map-reduce). - A meeting summarizer: ASR with speaker diarization → transcript → LLM summary with action items.

4.4 Python Packages

PackageUse in multimodal work
NumPyArrays for images (height × width × channels), audio waveforms and embeddings; vectorized maths; cosine similarity = dot(a, b) / (‖a‖ ‖b‖) with np.linalg.norm
spaCyText pipelines: tokenization, lemmatization, named entity recognition, sentence splitting for chunking, rule-based Matcher; processing captions and transcripts (Advanced NLP with spaCy)
KerasQuick models, including multi-input functional models that fuse an image branch and a text branch (D1.3) (Keras Developer Guides)
scikit-learnBaselines, imputation, metrics, cross-validation
Pillow, OpenCV, torchvisionImage loading, resizing, transforms
librosa, torchaudioAudio loading, resampling, spectrograms, MFCCs
Hugging Face Transformers, Diffusers, DatasetsPretrained multimodal models, processors and pipelines
Vector databases (Milvus, FAISS, pgvector, cuVS)Approximate nearest-neighbour search over embeddings (HNSW, IVF; GPU indexes such as CAGRA)

Traditional ML analyses still matter: a TF-IDF + logistic regression text baseline, k-means on embeddings, PCA before plotting, a random forest on extracted features.

1import numpy as np2def cosine(a, b):3    return float(np.dot(a, b) / (np.linalg.norm(a) * np.linalg.norm(b)))

4.5 Choosing Data, Hardware and Software Components

Speech with Riva (ASR Overview) The Riva ASR pipeline: audio → feature extraction (mel spectrogram) → acoustic model (for example Conformer-CTC, Citrinet, Parakeet) → decoder (greedy, or beam search with an n-gram language model) → punctuation and capitalization model → inverse text normalization ("twenty dollars" → "$20"). Options: streaming (low latency, partial results) or offline (whole file, higher accuracy); word boosting for domain terms; fine-tuning for accents or vocabulary. Riva TTS turns text into speech (spectrogram generator + vocoder).

Matching requirements to components

RequirementComponent
Real-time transcription, voice assistantRiva ASR (streaming), Riva TTS for the reply; ASR NIMs
Ready-made, optimized endpoint for an LLM, VLM or embedding modelNIM
Serve several models from different frameworks, or a pipeline (preprocess → model → postprocess)Triton with ensembles or BLS
Optimize a CNN, ViT or diffusion model for inferenceTensorRT (D5)
Train or customize multimodal and speech modelsNeMo framework
GPU video decode and analytics pipelinesDeepStream SDK; NVDEC hardware decoders
GPU image and audio data loading and augmentationDALI
Edge devices (robots, cameras)Jetson modules
Prebuilt containers, models and resourcesNGC catalog
Experiment tracking and model registryMLflow

Sizing hardware for multimodal workloads - GPU memory: model weights (parameters × bytes: FP16 = 2) plus activations, which grow with image resolution, number of video frames and batch size; VLMs also need KV cache for long prompts that include many image tokens. - Data loading: decoding JPEGs and video on the CPU often starves the GPU. Use DALI or NVDEC and enough CPU cores and storage bandwidth. - Latency vs throughput: real-time speech needs low latency per request; batch captioning of an archive needs throughput.

4.6 Deploying and Evaluating Scalability, Performance and Reliability

  • Triton basics: a model repository with one folder per model, config.pbtxt (backend, inputs, outputs, max_batch_size), numbered version folders; dynamic batching groups requests; instance groups run several copies per GPU; ensembles chain models (image preprocessing → encoder → classifier) without client round trips; HTTP and gRPC endpoints; Prometheus metrics on port 8002.
  • Scalability: load-test with increasing concurrency and record throughput and p95/p99 latency; scale replicas horizontally (Kubernetes) and watch GPU utilization.
  • Performance: measure each stage separately (decode, preprocess, model, postprocess); preprocessing is often the bottleneck for images and video.
  • Reliability: health checks, timeouts and retries, graceful handling of bad inputs (corrupt image, unsupported audio format), fallbacks when one modality's model is down, canary or blue–green rollouts.
  • Under a senior team member, the associate runs the tests, records results and flags regressions.

4.7 Monitoring Data Collection, Experiments and Software

What to monitorSignals
Data collectionVolume per source, missing-modality rate, failed decodes, resolution, sample-rate and duration distributions, label rates; alerts on sudden change
ExperimentsMLflow tracking: mlflow.log_param, mlflow.log_metric, mlflow.log_artifact (sample images, confusion matrices), the model registry for versions and aliases (such as @champion; the older registry stages are deprecated in MLflow); TensorBoard or W&B curves
Model quality in productionInput drift (brightness, accent, new device), prediction distribution, confidence, user feedback, periodic labeled audits
Software and infrastructureLatency, throughput, error rates, GPU utilization and memory (DCGM, nvidia-smi), queue length; Prometheus + Grafana dashboards; logs with request IDs

4.8 Writing Software Components and Scripts

  • Small, testable functions with clear inputs and outputs (load_audio(path, sr=16000) -> np.ndarray); type hints and docstrings.
  • Configuration (paths, model names, thresholds) in config files or environment variables, not hard-coded.
  • Logging instead of print; handle errors per item so one corrupt file doesn't stop a batch job.
  • Unit tests for preprocessing and postprocessing (pytest), and a small end-to-end test with sample media.
  • Version control (Git) with code review by the senior engineer; pin package versions; containerize (Docker, NGC base images) for reproducibility.
  • Batch over items and use the GPU for heavy steps; stream large datasets instead of loading everything into memory.

Exam Tips - Early fusion = combine inputs; intermediate = combine embeddings; late fusion = combine predictions. Late fusion tolerates a missing modality best. - Survey's five challenges: representation, translation, alignment, fusion, co-learning. - CLIP's shared space enables zero-shot classification and cross-modal search. - Multimodal RAG: shared embeddings, ground everything in text (OCR, captions, ASR), or separate stores with a reranker. - Riva = speech AI (ASR, TTS, translation); streaming for real time. - Triton ensembles chain preprocessing and models; dynamic batching raises throughput. - MLflow tracks parameters, metrics, artifacts and model versions.

References

  1. NVIDIA NCA-GENM certification exam page — checked Nov 11, 2026

Check your understanding

  • One sensor often drops out. Which fusion strategy copes best?Show answer

    Answer

    Late fusion, which combines each modality's predictions, so a missing modality can be left out. Early fusion needs all inputs.
  • Can a text-only embedding model search images directly?Show answer

    Answer

    No. You need a shared space such as CLIP's, or you ground images in text first with captions or OCR.
  • What is NVIDIA Riva?Show answer

    Answer

    A speech AI SDK for ASR, text to speech and translation, with streaming for real-time use. It is not a vector database.
  • GPU utilization is low because JPEG decoding on the CPU is slow. Should you add GPUs?Show answer

    Answer

    No. The bottleneck is data loading; move decoding to the GPU or add CPU workers.
Previous

Progress is saved in this browser.

Next Lesson