My current research project involves adaptive weights for three different loss functions so that I hope each the objective can focus on the different size of objects when given a different size of the input.
Say there are three ranges: 0−300 is for small objects, 300−900 is for middle-sized objects and >900 is for large objects.
My current design: let's assume input is x,
y1=11+exp(−0.01(x−600))y2=11+exp(+0.01(x−600))y3=11+exp(−0.02∗(x−300)))+11+exp(0.02∗(x−900))−1
However, the problem is ∑i=1,2,3yi[x]≠1,∀0≤x. A simple solution to fix is to design two piece-wise functions:
y1=11+exp(−0.02(x−300)))+11+exp(0.02(x−900))−1y2=11−exp(+0.02(x−300))+11+exp(−0.02(x−900)),
where x<600 for high-pass filter in y1 and x>600 for low-pass filter in y1 is zero.
However, I prefer the first continuous functions for its simplicity. By any chance, there exists a more elegant solution where three functions are unit decomposition and not piece-wise? Thanks ahead for any suggestions.
No comments:
Post a Comment