A Framework for Adaptive Di erential Privacy