wikillm

Concept · 1 paper · updated 2026-10-24

Loss disentanglement

Splits one box regression loss into one term per parameter group, so each term sees only its own group from the prediction. The paper reports more stable training for monocular 3D detection. Its ablation gains from this step alone are small, and the cost is k times the loss terms.

loss-designregression3d-detectionoptimisation

Markdown3 min read

AI-compiled overview, updated 2026-10-24, not yet reviewed by a human. Every claim cites its source; check it when a detail matters.

Overview

A network that regresses several quantities at once, such as depth, size and angle, often sums their errors into one loss. The quantities have different units and meanings, so their errors can pull against each other 1905.12365 §1. Loss disentanglement is one fix for this. It splits the loss into one term per parameter group. In each term, only that group comes from the prediction and every other group is set to the ground truth, so each term is still the same kind of box loss 1905.12365 §5.1.

This is not the same as disentangled representation, which concerns latent codes. Here the split is over the terms of a loss.

The method needs two properties. The box loss must be zero when the prediction equals the target, and the map from network output to box must be one-to-one 1905.12365 §5.1.

Variants

Only one paper with a card covers this technique, so there is one variant.

Per-group box loss (MonoDIS)

For 2D boxes, the loss has two groups, size and centre, and uses the signed IoU loss 1905.12365 §5.1 1905.12365 eq. 1. For 3D boxes, it has four groups, depth, projected centre, rotation and dimensions, and uses the Huber loss over the eight box corners 1905.12365 §5.1 1905.12365 eq. 2. The paper applies the split to both losses in its main experiments 1905.12365 §5.1. Card: Disentangling Monocular 3D Object Detection.

Reported effect

All numbers are author-reported on the KITTI validation split, car class, 3D AP40, Easy / Moderate / Hard 1905.12365 tab. 3.

Setting3D Easy3D Mod3D Hard
3D box head, entangled loss (ablation)3.902.702.50
3D box head, disentangled loss4.103.002.70
Full MonoDIS11.067.606.37

The gain from the split by itself is small in these rows. The larger gains in the same table come from the other changes the paper makes, which the rows do not separate 1905.12365 tab. 3. The AP11 rows on the same split show the same small gain 1905.12365 tab. 5. The paper calls the training more stable and faster, but this comparison is not shown in a table 1905.12365 §5.2 1905.12365 fig. 7.

When to use which

SituationUseWhy
Outputs mix units or meanings and one summed loss trains badlyPer-group split of the box lossThe paper motivates the split this way 1905.12365 §1
Box map is not one-to-one, or the loss is not zero at the truthDo not apply as writtenThese are the method's conditions 1905.12365 §5.1
Training budget is tightExpect k box-loss terms per exampleEach term is a full box loss, so cost grows with k 1905.12365 §5.1
Need the 3D lift to workCalibrated camera at train and test timeThe lift uses the intrinsics K 1905.12365 §3 1905.12365 app. B
Expecting a large gain from the split aloneMeasure it on your own setupThe ablation gain is small 1905.12365 tab. 3

Open points that the paper does not settle:

Implementation sketch

Language-agnostic pseudocode of the generic split. The paper's concrete groups are in the card's Method section 1905.12365 §5.1.

Pseudocode
# Disentangled loss over k parameter groups  [arxiv:1905.12365 §5.1]
# Input:  prediction theta, ground-truth box y_hat, groups G_1..G_k
# Output: scalar loss

def disentangled_loss(theta, y_hat, groups, psi, psi_inv, box_loss):
    # 1. Ground-truth parametrisation  [arxiv:1905.12365 §5.1]
    theta_hat = psi_inv(y_hat)
    total = 0
    for group in groups:
        # 2. Keep group j from the prediction, the rest from ground truth
        mixed = theta_hat.copy()
        mixed[group] = theta[group]
        # 3. Map back to a box and apply the ordinary box loss  [§5.1]
        total += box_loss(psi(mixed), y_hat)
    # 4. Whether this sum is normalised is not stated  [§5.1]
    return total

Contradictions

None known. Only one card cites this technique, so there is no cross-paper comparison.

Papers

Source and license

Compiled from the papers listed on this page, all published under CC BY, CC BY-SA or CC0, with citations. See each paper's page for its authors and license.