Hi,
The negative confidence is from the group rectangles type of clustering method. This method does not output the confidence values for the clustered boxes and hence all objects will have -0.1 conf at the pgie.
Please check this topic for the detail:
Thanks.