Sub topic 7
Backbones and High-Resolution Architectures
Assume you know convolutional neural networks, feature maps, bounding boxes, and supervised training loss. This chapter focuses on how a pose model preserves enough spatial detail to locate small joints such as wrists and ankles.
The backbone’s job
A backbone is the part of a neural network that converts an image into feature maps. Early layers detect edges and textures. Deeper layers combine these patterns into larger structures, such as arms, legs, and torsos.
A standard image-classification backbone repeatedly downsamples its feature maps. For example, a stride of 2 halves the height and width. After several stages, a 256 × 256 input might produce a 16 × 16 feature map. This gives deep features a large receptive field, meaning each feature can use information from a large part of the original image.
Downsampling improves speed and context, but it reduces location precision. A feature cell may represent a region 16 pixels wide. That resolution is often too coarse for a keypoint near a fingertip or ankle.
Why pose models need high resolution
Pose estimation needs both:
- Semantic information: evidence that a structure is a knee or shoulder.
- Spatial information: the exact position of that structure.
A useful architecture combines low-resolution features with high-resolution features. Low-resolution maps provide context. High-resolution maps preserve coordinate detail.
The output stride describes the scale difference between the input and a feature map. If the input is 256 × 256 and the output is 64 × 64, the stride is 4. A heatmap cell then corresponds to roughly 4 × 4 input pixels.
Common architecture patterns
High-resolution networks
A high-resolution network, such as HRNet, keeps a high-resolution branch active throughout much of the network. It also maintains lower-resolution branches for broader context. Repeated exchanges of information let the high-resolution branch receive semantic features without discarding its fine spatial grid.
This approach usually produces accurate keypoint locations. Its cost is memory and computation, especially for large images or many people.
Encoder-decoder networks
An encoder-decoder first reduces resolution in an encoder, then increases it in a decoder. Skip connections copy features from early encoder stages to matching decoder stages. U-Net is a familiar example of this pattern.
Skip connections restore local detail that deeper layers lost. However, upsampling cannot recreate information that was completely discarded. The quality of the early features and the fusion method therefore matter.
Feature pyramids
A feature pyramid provides predictions at several scales. Fine maps help with small details, while coarse maps provide context and handle larger structures. Feature pyramids are useful when people appear at different sizes, but they add design and memory complexity.
| Pattern | Main strength | Common cost |
|---|---|---|
| High-resolution network | Precise localization | High memory use |
| Encoder-decoder | Strong detail recovery | Information loss during encoding |
| Feature pyramid | Handles multiple scales | More branches and fusion logic |
Choosing an architecture
Choose a high-resolution design when joint accuracy matters more than minimum latency. Prefer stronger downsampling or lightweight feature pyramids when deployment hardware is limited. Also consider the person scale: a model that works well on large, centered people may need finer maps to handle distant people.
Exercise
Why can a model with a large receptive field still locate a wrist inaccurately?
Show answer
The model may understand the whole body but produce a low-resolution feature map. Several wrist positions can then fall into the same feature cell.