AMD-Proj: Adaptive Memory-Driven Selective Gradient Projection for Continual Learning in Document Understanding | Synapse