FigCaps-HF: A Figure-to-Caption Generative Framework and Benchmark with Human Feedback

Ashish Singh, Ashutosh Singh, Prateek Agarwal, Zixuan Huang, Arpita Singh, Tong Yu, Sungchul Kim, Victor Bursztyn, Nesreen K. Ahmed, Puneet Mathur, Erik Learned-Miller, Franck Dernoncourt, Ryan A. Rossi

TL;DR

FigCaps-HF introduces a scalable framework to align scientific figure captioning with human preferences using Reinforcement Learning from Human Feedback (RLHF). By training a reward model on a small set of expert-annotated figures, the authors successfully fine-tuned large vision-language models to produce captions that are significantly more helpful, descriptive, and grounded in visual evidence than standard methods.

What Problem Does This Paper Address?

Scientific figures are essential for understanding research, yet their captions are often an afterthought. Most existing automated captioning models are trained on datasets like SciCap, which are scraped directly from papers. Unfortunately, "ground truth" captions in the wild are frequently low-quality—they might be overly generic, lack visual descriptions, or fail to explain the key takeaway of a plot.

This creates a "garbage in, garbage out" problem: models trained on these noisy captions learn to generate uninformative text that doesn't align with what readers actually want. The challenge is that collecting enough high-quality, human-annotated captions to train a large model from scratch is prohibitively expensive and slow.

Methods

The authors propose a two-stage framework designed for scalability and computational efficiency:

  1. Human Feedback Prediction Model (The "Judge"): Instead of asking humans to rate every single pair in a massive dataset, the authors had domain experts rate a tiny subset (438 pairs) on a 5-point Likert scale across four dimensions: Helpfulness, Takeaway, Visual-descriptiveness, and OCR content. They then trained a regression model (using MCSE embeddings and a simple MLP) to predict these human scores for the entire 106k+ dataset.
  2. Upside-Down Reinforcement Learning (UDRL): Rather than using complex on-policy RL algorithms like PPO, which can be unstable and compute-heavy, they used an offline approach. They converted the predicted reward scores into "control tokens" (e.g., <|good|> or <|bad|>). During fine-tuning, the generative model (like BLIP or ViT+GPT2) is trained to predict the caption conditioned on these tokens. At inference time, you simply prompt the model with the <|good|> token to steer it toward high-quality output.
Figure 1: Our proposed framework for improved figure-captioning using Upside-Down RLHF. The framework utilizes a very small set of reader-feedback annotated figure-caption pairs to learn a calibrated figure-caption scoring model. This model is then used to fine-tune the figure-caption model conditioned on inferred feedback scores.

Datasets

  • FigCaps-HF Benchmark: The primary contribution is this new benchmark, which augments the existing SciCap dataset (106,834 training pairs) with inferred human feedback scores for the four quality metrics mentioned above.
  • Expert-Annotated Subset: A small, high-quality set of 438 pairs annotated by PhD-level experts in CV, NLP, and ML.

Key Insights and Ideas

  • Scalability through Proxy Judges: The paper proves that a reward model trained on fewer than 500 expert samples can generalize well enough to provide useful training signals for over 100,000 samples.
  • Objective vs. Subjective Metrics: Interestingly, training on "objective" metrics like Visual-descriptiveness and Takeaway yielded better performance gains than training on the more "subjective" Helpfulness metric. This suggests that models benefit more from feedback grounded in specific visual or semantic tasks.
  • UDRL Efficiency: By using reward-conditioned behavioral cloning (UDRL), the authors avoided the need to keep a reward model active during the main training loop, significantly reducing the computational overhead typically associated with RLHF.

Key Results

The RLHF-aligned models consistently outperformed standard supervised fine-tuning (SFT) across all automated metrics.

  • Quantitative Gains: Using BLIP as a base, the RLHF framework achieved a 35.7% increase in BLEU, a 16.9% increase in ROUGE-L, and an 11.4% increase in CIDEr scores compared to standard fine-tuning.
  • Qualitative Improvements: In human evaluations, the RLHF-generated captions were preferred 85% of the time. As shown in the qualitative analysis, the RLHF models were much better at identifying specific visual elements (like "red line" vs "blue dots") and summarizing the actual phenomenon shown in the graph, whereas standard models often hallucinated or provided vague, irrelevant text.
Qualitative comparison showing how BLIP-RLHF produces more descriptive and accurate captions than the base BLIP model.

Limitations and Future Work

  • Compute Intensity: While UDRL is efficient, the current implementation still requires updating all model parameters. The authors suggest that integrating Parameter-Efficient Fine-Tuning (PEFT) methods like LoRA could be a valuable next step.
  • General vs. Specific Readers: The current feedback is geared toward a "general" scientific reader. Future work could involve tailoring captions for specific groups, such as providing highly detailed visual descriptions for users with visual impairments.
  • Multi-Metric Integration: The authors currently use single metrics for rewards; exploring how to optimally combine multiple feedback signals (e.g., balancing OCR accuracy with high-level takeaways) remains an open research question.

Summary updated

Abstract

Captions are crucial for understanding scientific visualizations and documents. Existing captioning methods for scientific figures rely on figure-caption pairs extracted from documents for training, many of which fall short with respect to metrics like helpfulness, explainability, and visual-descriptiveness [15] leading to generated captions being misaligned with reader preferences. To enable the generation of high-quality figure captions, we introduce FigCaps-HF a new framework for figure-caption generation that can incorporate domain expert feedback in generating captions optimized for reader preferences. Our framework comprises of 1) an automatic method for evaluating quality of figure-caption pairs, 2) a novel reinforcement learning with human feedback (RLHF) method to optimize a generative figure-to-caption model for reader preferences. We demonstrate the effectiveness of our simple learning framework by improving performance over standard fine-tuning across different types of models. In particular, when using BLIP as the base model, our RLHF framework achieves a mean gain of 35.7%, 16.9%, and 9% in ROUGE, BLEU, and Meteor, respectively. Finally, we release a large-scale benchmark dataset with human feedback on figure-caption pairs to enable further evaluation and development of RLHF techniques for this problem.
BibTeX
@misc{singh2023figcaps,
  author = {Ashish Singh and Ashutosh Singh and Prateek Agarwal and Zixuan Huang and Arpita Singh and Tong Yu and Sungchul Kim and Victor Bursztyn and Nesreen K. Ahmed and Puneet Mathur and Erik Learned-Miller and Franck Dernoncourt and Ryan A. Rossi},
  title = {{FigCaps-HF: A Figure-to-Caption Generative Framework and Benchmark with Human Feedback}},
  year = {2023},
  eprint = {2307.10867},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2307.10867},
}
Figure