Index
Lifted Structure Loss
Metric Learning / Distance Learning の損失として利用される.
- Metric Learning / Distance Learning #まとめ編 #01
- 損失について
- yhayato1320.hatenablog.com
Loss Function Architecture
positive pair / negative pair の集合を定義.
次に、任意のpositive pair / negative pair の要素 (のid) を考える.
図にするとこのようなイメージ.
まず、損失 を考える.
損失 は、positive pair のデータ点 と のコストではあり、最小化することが目的である.
第 2 項 は、データ点 と の距離であるから、最小になるように写像したい.
次に、第 1 項は、negative pair の距離で小さいもの(近いもの)を選択し、それを最大化している (遠ざけている).
最終的な損失 を考える.
上で決めた positive pair のデータ点 と のコストの平均を計算するようなイメージ.
課題
- non-smooth / 連続ではない関数
- negative / positive pair の作成方法
対応策・工夫
- smooth upper bound を代わりに利用
- stochastic approach
参考
- Deep Metric Learning via Lifted Structured Feature Embedding
- [2015]
- 4 Deep metric learning via lifted structured feature embedding
- arxiv.org