A non-transitory computer-readable storage medium including computer executable instructions, wherein the instructions, when executed by a computer, cause the computer to perform a method for performing multiple tasks for remote sensing, by a unified framework system, the method comprising:
- inputting a remote-sensing image and a user query;
- receiving a task identity;
- encoding, by a global image encoder, patch-level tokens at a high resolution via interpolation positional encodings using the remote-sensing image and user query;
- receiving, by an MLP adapter, the patch-level tokens and adapting the patch-level tokens to language space;
- and
- generating, by a large language model, natural language responses interleaved with corresponding object locations based on the language space and task specific prompts,
- receiving, by the global image encoder, region location parameters;
- and
- switching, based on the received task identity, between different types of remote sensing visual interpretation tasks.