Florence AI is Microsoft’s open-source vision foundation model, released in June 2024 under an MIT license. It runs object detection, segmentation, image captioning, and visual grounding through a single architecture, available in two sizes — 232 million and 771 million parameters — and performs on par with or better than models many times larger.
What Is Florence AI? Microsoft’s Unified Vision Foundation Model
Florence AI, formally known as Florence-2, is a multimodal vision-language model from Microsoft’s Azure AI team. Rather than training separate systems for each computer vision task, Florence-2 handles more than ten distinct tasks through one model using a shared set of weights.
It takes an image and a text prompt as input, then produces the desired output in text form — whether that’s a bounding box, a caption, a region description, or OCR output. Task selection happens entirely through the prompt, following the same logic large language models use for text.
Microsoft named the model after Florence, Italy — the historical birthplace of the Renaissance — framing it as a foundational shift in how computer vision systems are built and deployed.
How Florence AI Processes Visual Data
The FLD-5B Training Dataset
Florence-2’s performance doesn’t come from a complex architecture. It comes from data volume and annotation depth. Microsoft built the FLD-5B dataset specifically for this model — 5.4 billion annotations across 126 million images, covering boxes, masks, captions, and grounding data for the same image set.
Earlier large-scale datasets fell short in different ways. SA-1B contained only segmentation masks. COCO supported broader tasks but at limited scale. WIT covered only image-caption pairs. FLD-5B was built to address all of that in one place, using existing task-specific models to automate annotation, then filtering with quality checks to ensure consistency.
Sequence-to-Sequence Architecture
Florence-2 uses a DaViT (Data-efficient Vision Transformer) to encode input images into visual token embeddings. Those embeddings are concatenated with BERT-generated text embeddings and processed through a standard transformer-based multi-modal encoder-decoder to produce the output. Every computer vision task is treated as a translation problem: given an image and a task-specific prompt, the model generates the appropriate response.
For region-specific tasks like object detection, the model extends its vocabulary with location tokens representing quantized coordinates. Bounding boxes use (x0, y0, x1, y1) format, while polygon representations capture vertices in clockwise order. This single architecture handles spatial tasks and semantic tasks without modification.
The shift toward smaller, capable models has become a broader pattern in AI — Florence-2’s design reflects exactly that, trading raw parameter count for data quality and architectural simplicity.
Florence AI Capabilities: Supported Vision Tasks
Florence AI handles a wide range of vision tasks without task-specific fine-tuning in zero-shot mode, and performs even better after standard fine-tuning on downstream datasets.
The model covers image-level tasks (captioning, classification), region-level tasks (object detection, visual grounding, referring expression comprehension), and pixel-level tasks (segmentation). It also handles optical character recognition with region output, open-vocabulary detection, and dense region captions. All tasks share the same prompt-based interface.
Florence AI Performance Against Larger Models
Florence-2’s zero-shot results drew attention at CVPR 2024 for one specific reason: both the 232M and 771M versions outperformed Flamingo — DeepMind’s 80-billion-parameter model — on the COCO captioning benchmark.
Florence-2-large also achieved 81.5% accuracy on TextVQA without any external OCR input, setting a new state-of-the-art at the time of publication. On RefCOCO referring expression tasks, fine-tuned Florence-2 outperformed specialist models despite using a simpler architecture. Kosmos-2, which has 1.6 billion parameters, was outperformed by Florence-2 across all zero-shot benchmarks by both Florence model sizes.
Both pre-trained and fine-tuned versions of Florence-2 are available on Hugging Face under the MIT license, permitting unrestricted commercial and private use.
Real-World Applications of Florence AI
The model’s ability to process any vision task through a single prompt-based interface makes it practical across industries where deploying separate models for each use case would be cost-prohibitive.
In medical imaging, Florence-2’s text-image annotation can identify anatomical features and anomalies in MRI scans, X-rays, and CT images — a use case researchers have linked to faster diagnosis and reduced scanner time. AI in medical diagnostics has been gaining ground precisely because multi-task models reduce the overhead of deploying condition-specific systems.
Autonomous vehicle systems rely on Florence-2’s object detection and environment segmentation to identify pedestrians, road signs, lane markings, and obstacles in real time. Industrial manufacturers use region-based segmentation for defect detection on assembly lines, reducing manual inspection time. E-commerce platforms apply image captioning to generate product descriptions directly from images. Content moderation systems use visual grounding to connect specific regions of an image to text context for more accurate flagging.
Florence-2 runs efficiently on cloud-based AI infrastructure — on an NVIDIA T4 GPU, it processes approximately one image per second for most tasks. CPU inference works but takes several seconds per image.
FAQs
What is Florence AI used for?
Florence AI handles object detection, image captioning, segmentation, visual grounding, and OCR through a single model. It is used in medical imaging, autonomous vehicles, e-commerce, and industrial quality control.
Who built Florence AI and when was it released?
Microsoft’s Azure AI team built Florence-2. It was released in June 2024 at CVPR 2024 and open-sourced on Hugging Face under an MIT license.
How large is the Florence-2 model?
Florence-2 comes in two sizes: Florence-2-base with 232 million parameters and Florence-2-large with 771 million parameters. Both outperform much larger models on several benchmarks.
Is Florence AI free to use?
Yes. Both pre-trained and fine-tuned versions of Florence-2 are available on Hugging Face under the MIT license, which allows unrestricted commercial and private use without fees.
How does Florence AI compare to GPT-4 Vision?
Florence-2 is a specialized vision foundation model focused on structured computer vision tasks. GPT-4 Vision is a general-purpose multimodal model. Florence-2 is smaller, open-source, and optimized for task-specific deployments like detection and segmentation.


