Nanyang Technological University
AI for arbitrary skeleton guided text-to-image generation
Abstract
dc:description.abstractAutoregressive (AR) image generation models, for example LlamaGen, achieve generative quality as good as diffusion models in text-to-image tasks through single-stage token prediction. However, many applications need spatial conditions, such as information about human pose or skeleton, in addition to text captions. Current pose-guided text-to-image approaches are mainly based on diffusion models (e.g. HumanSD, Stable-Pose), while systematic control over pose keypoints for AR frameworks and fair comparison under the same data and metrics are still relatively limited. This dissertation focuses on this rarely explored research area by proposing Pose-LlamaGen, a skeleton-guided text-to-image method based on an open-source AR model called LlamaGen. Pose-LlamaGen only injects pose-conditioned residuals at image token positions in a series of carefully selected backbone layers, keeping the weights in LlamaGen backbone frozen and preserving the decoding procedure in a single stage. The encoder for pose keypoint images maps every skeleton image, which is annotated by OpenPose in this dissertation, to a token sequence aligned with the image token grid, while a ControlNet-style bypass network with zero-initialized projections produces residuals for target layers in LlamaGen. Only pose encoder and bypass network are trained, ensuring the pose control mechanism in Pose-LlamaGen parameter-efficient and computationally light. The dissertation evaluates multiple backbones as the pose encoder (for example ViT-16, ResNet-18/34/50, and Swin- Tiny) and injection strategies), conducts ablations according to variable (learning rate, injection strategy, pose encoder, even-series injection), and compares with four diffusion baselines on the COCO 2017 validation set under the same cap- tions and pose image inputs. The results of experiments show that, under the same evaluation standard, the image generation quality and text alignment of Pose-LlamaGen achieve a level competitive with diffusion baselines fine-funed on OpenPose-annotated COCO2017 dataset while using a frozen AR backbone and single-stage decoding, significantly relieving training burden. Since the backbone is frozen, the training procedure of Pose-LlamaGen is substantially more lowcost and faster than some of diffusion models that fine-tune the whole model. Inference benchmarking further shows that peak GPU memory of Pose-LlamaGen is lower than heavier diffusion methods, although per-image latency stays higher for the reason that autoregressive decoding is sequential . This dissertation implements a reproducible baseline and quantitative reference for autoregressive skeleton-guided text-to-image tasks.
Degree
thesis:*- College dc:contributor.school
- School of Electrical and Electronic Engineering
- Grantor dc:publisher
- Nanyang Technological University
- Year dc:date.issued
- 2026
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- You, Xuan
- Advisor dc:contributor.supervisor
-
- Wen Bihan
Subjects
dc:subject × 1Rights
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Handle dc:identifier.uri
- https://hdl.handle.net/10356/214459