Reproduce “Semantic Prompting with Image-Token for Continual Learning” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Jisu Han, Jaemin Na, Wonjun Hwang

I-Prompt introduces a task-agnostic prompting method for continual learning that uses visual semantic information from image tokens to eliminate explicit task prediction, enabling prompt selection and prediction in a single forward pass. This approach improves average accuracy by up to 7.08% on ImageNet-A and reduces computational time by 40-50% compared to previous methods, particularly excelling in task-imbalanced and online learning scenarios.

Key insights

  • Leveraging the inherent visual semantic information within image tokens, specifically self-attention keys, provides a robust and task-agnostic mechanism for prompt selection in continual learning.
  • Integrating prompt selection and application directly into the transformer's attention mechanism within a single forward pass drastically improves computational efficiency without compromising performance.
  • A combination of image token-level prompting and a boosting algorithm for prompt management effectively balances the retention of old knowledge with the acquisition of new, even in dynamic and imbalanced task environments.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.