region proposal을 통해 예측한 bounding box()를 ground truth()에 맞추기 위하여 사용된다. regression을 통해 예측한 bounding box를 이라고 할 때 ground truth에 대한 보정 값 과 같이 나타내면 아래와 같이 쓸 수 있다.
regression의 목적은 region proposal한 bounding box를 ground truth로 보정하는 것이므로 target은 다음과 같이 쓸 수 있다.
따라서 loss function()는 다음과 같다.