project · 2024 · Master's Thesis · RPTU Kaiserslautern / Deutsches Forschungszentrum für Künstliche Intelligenz (DFKI)

ASL-LLM: Text to 3D Sign Language Motion

Master's thesis at RPTU Kaiserslautern: an end-to-end system that translates open-vocabulary text into expressive 3D American Sign Language motion, including body, hands, and facial expressions, using VQ-VAE motion encoding and a GPT-based autoregressive transformer.

PyTorchVQ-VAEGPT-2CLIPYOLOv5SMPL-XPythonHow2Sign

Sign language is a primary communication medium for millions of people with hearing impairments, yet automated sign language generation remains underdeveloped. Most existing systems rely on gloss annotations as an intermediary, which constrains them to predefined vocabularies and produces static, unnatural outputs. This thesis eliminates that bottleneck entirely: ASL-LLM translates open-vocabulary natural language text directly into expressive 3D sign language motion, including coordinated body, hand, and facial expressions, with no gloss step in the pipeline.

Dataset construction

Sign language generation is bottlenecked by data. No ready-made 3D motion dataset existed for this task, so a custom one was built from scratch. Starting from How2Sign (a large-scale continuous American Sign Language video dataset), a custom extraction pipeline was designed:

Dataset preparation pipeline: video frame to 3D joint extraction to reconstructed sign pose

The reduction was deliberate. Sign language meaning lives in the upper body and hands. Keeping leg joints inflates the feature space and degrades model focus. The final representation is 136 dimensions per frame, down from 169, retaining everything that matters for sign communication.

The resulting dataset: 31,048 training samples, 1,739 validation, 2,343 test, totalling 35,130 sentence-level clips, each frame-synchronized with an English text transcription.

Two-stage architecture

The core insight is to separate the two hard sub-problems: how to represent motion compactly, and how to generate it from language.

Text input
┌──────────────────────────────────┐
│ CLIP Text Encoder │
│ (semantic text embeddings) │
└───────────────┬──────────────────┘
┌──────────────────────────────────┐
│ GPT-based Transformer │
│ (autoregressive token pred.) │
│ 9 layers · 16 attention heads │
│ causal + cross-conditional │
│ attention │
└───────────────┬──────────────────┘
│ motion token sequence
┌──────────────────────────────────┐
│ VQ-VAE Decoder │
│ (codebook: 1024 entries x │
│ 1024 dims) │
└───────────────┬──────────────────┘
3D sign language motion
(body + hands + face)

Stage 1: VQ-VAE motion encoder

A 1D convolutional encoder-decoder with residual blocks maps continuous 3D motion sequences to a discrete codebook of 1024 tokens. Two training techniques prevent codebook collapse, which is where only a small fraction of entries are ever used:

VQ-VAE architecture: encoder compresses sign pose motion into a codebook, decoder reconstructs it

The VQ-VAE is pretrained independently before the second stage. At inference, the decoder reconstructs full 3D motion from any sequence of tokens.

Stage 2: GPT-based transformer

A transformer with causal and cross-conditional self-attention takes CLIP text embeddings and autoregressively predicts the sequence of VQ-VAE motion tokens one step at a time. Each prediction is conditioned on both the text and all previously generated tokens. An explicit End token terminates each segment and the overall sequence, removing the need for a separate sequence-length predictor. The model was trained with corrupted sequence augmentation to improve robustness at inference.

GPT model: autoregressive prediction of motion tokens conditioned on text input

Results

VQ-VAE:

GPT model:

The 97% accuracy is particularly significant because it is achieved without any gloss annotations. The system operates end-to-end from raw English text to 3D motion, supporting an open vocabulary rather than a predefined gesture lexicon.

Why this matters

Traditional sign language generation systems are locked to their training vocabulary. A word or phrase not in the gloss dictionary produces nothing. ASL-LLM handles any English sentence, generating natural, contextually coherent signing that includes facial expressions and body language, the components that carry grammatical meaning and emotional nuance in sign language. The work establishes a framework for accessible, scalable communication tools for the hearing-impaired community.

← all work