Dynamic Knowledge Integration for Enhanced Vision-Language Reasoning