TL;DR
SPICE (Semantic Propositional Image Caption Evaluation) is a novel metric that evaluates image captions by comparing their underlying meaning rather than just their word overlap. By converting captions into "scene graphs" that map objects, attributes, and relations, SPICE achieves significantly higher correlation with human judgment than traditional metrics like BLEU or CIDEr.
What Problem Does This Paper Address?
Evaluating how well a computer describes an image is surprisingly difficult. For years, the field relied on n-gram overlap metrics borrowed from machine translation, such as BLEU, METEOR, and CIDEr. These metrics essentially count how many sequences of words the "candidate" caption shares with a "reference" (human-written) caption.
However, n-gram overlap is a poor proxy for meaning. The authors highlight two major failure modes:
- High score, wrong meaning: A caption like "A giraffe standing on top of a green field" shares a long 5-gram string ("standing on top of a") with "A young girl standing on top of a tennis court." Traditional metrics would give these a high similarity score despite describing completely different scenes.
- Low score, right meaning: Two captions describing a kitchen scene might use entirely different vocabulary (e.g., "metal pot" vs. "pan on the stove") and receive a low score despite conveying the same information.
The gap is clear: we need a metric that understands semantic propositional content—the "who," "what," and "where" of a sentence.
Methods
The authors propose SPICE, which moves the evaluation from the lexical level (words) to the semantic level (propositions). The pipeline works in three main stages:
- Semantic Parsing: The caption is first processed through a dependency parser to establish syntactic relationships.
- Scene Graph Generation: These dependencies are mapped to a scene graph, a graph-based representation where nodes represent objects (e.g., girl), attributes (e.g., young), and edges represent relations (e.g., on-top-of).
- Tuple Matching: The scene graph is decomposed into a set of logical tuples (e.g.,
(girl),(girl, young),(girl, on-top-of, court)).
To calculate the final score, SPICE computes the F-score (the harmonic mean of precision and recall) over the tuples in the candidate caption versus the union of tuples from the reference captions. To handle synonyms, they incorporate WordNet-based matching, ensuring that "pot" and "pan" can still result in a match.
Datasets
The authors validated SPICE across several established benchmarks:
- Microsoft COCO (2014/2015): Used to compare metric scores against 255,000 human judgments from the 2015 Captioning Challenge.
- Flickr 8K: A dataset of 8,092 images with expert human quality scores.
- PASCAL-50S: Used to test the metric's ability to distinguish between human-correct, human-incorrect, and model-generated captions.
- Composite Dataset: A collection of nearly 12,000 human judgments across Flickr and COCO images.
Key Insights and Ideas
- Meaning > Fluency: SPICE intentionally ignores "fluency" (how natural the sentence sounds) to focus entirely on "correctness" (how well it describes the scene). While this seems like a drawback, it actually makes the metric much more robust at identifying whether a model actually "sees" what is in the image.
- Interpretability: Unlike "black box" n-gram scores, SPICE is highly interpretable. Because it is based on scene graphs, researchers can break down a model's performance by category. You can ask: Does this model struggle with colors? Can it count objects accurately? Does it understand spatial relations?
- The "Human" Test: A major finding was that SPICE was the only metric to correctly rank human-generated captions higher than all 15 entries in the 2015 COCO challenge. Traditional metrics often ranked human captions as mediocre because humans use diverse vocabulary that doesn't always overlap with the specific "consensus" n-grams the models were trained to mimic.
Key Results
The quantitative improvements were dramatic, particularly in how well the metric aligned with human scores (correlation):
- System-level Correlation: On the MS COCO dataset, SPICE achieved a Pearson’s correlation of 0.88 with human judgments. For comparison, CIDEr scored 0.43 and METEOR scored 0.53.
- Detailedness: SPICE was the only metric that positively rewarded "detailedness" (M4 in the paper). Other metrics like BLEU-1 and ROUGE-L actually showed a negative correlation with detail, effectively penalizing models for being more descriptive.
- Model Analysis: Using SPICE's sub-category breakdown, the authors showed that while some 2015 models were becoming quite good at identifying colors, almost none of them had a convincing ability to count objects correctly.
Limitations and Future Work
- Dependency on Parsers: SPICE is only as good as the semantic parser it uses. If the parser fails to understand a complex sentence structure, the resulting scene graph (and thus the score) will be inaccurate.
- Neglecting Syntax: Because SPICE ignores fluency, a "word salad" of correct objects and attributes (e.g., "Girl young court tennis standing") might receive a high score. The authors suggest that SPICE should be used in conjunction with a fluency metric or as part of an ensemble for a holistic evaluation.
- Future Directions: The authors hope that as semantic parsing technology improves, SPICE will become even more accurate. They also suggest SPICE could eventually be used to evaluate images directly against scene graph datasets that lack any text captions at all.
Summary updated