When opening a group info or minimizing the app while a group is open, if someone mentions you in that group, the badge won't go away instantly, and it needs the chat to be reopened for the badge to disappear.
Reopen the chat
By returning to the chat, @ badge won't disappear.
The @ badge should disappear.
iPhone X // iOS 14.3