I encountered a polynomial (homogeneous quartic form) in 8 variables that numerics show to be non-negative but also an optimization procedure shows that a sum-of-squares decomposition does not (apparently) exist. The polynomial is:
$$ff = (a_1^2 + a_2^2 + a_3^2 + a_4^2)^2 - 2 (a_2 b_2 - a_3 b_3)^2 - (a_3 b_1 + a_4 b_2 + a_1 b_3 + a_2 b_4)^2 \\ - (a_2 b_1 + a_1 b_2 + a_4 b_3 + a_3 b_4)^2 - 2 (a_1 b_1 - a_4 b_4)^2 + (b_1^2 + b_2^2 + b_3^2 + b_4^2)^2 $$
I'm wondering what algebraic tools would allow me to prove non-negativity of this polynomial if the SOS approach fails to work.