From a technical perspective what would a algorithm “look” for to flag a BiaB track in an original song?

Obviously not rhythm tracks and while BiaB solos can be regened and comped to get them supportive and compatible with your melody I find it hard to imagine they are flagged as “stealing” a melody from a copyrighted tune.

FWIW

Bud