Cross entrooy is only expected to work when the targets form a probability (nonnegative, sum to 1). If you don’t have that you need to move to multi-label loss functions to make variant 2 work. Dependimg on your problem, you could also normalize the targets and use a threshold to predict 1s.
Best regards
Thomas