Anti Backlash Software Compensation

This is probably a very niche question but could someone detail exactly what the backlash compensation software does? I’m struggling to understand based on some tests I’ve done. It seems that the backlash compensation changes depending on what sign (+ or -) you input into the client. My understanding of backlash is that this compensation should be a magnitude and only implemented when the motors change direction. Any help would be greatly appreciated!