SPIQA: A Dataset for Multimodal
Question Answering on Scientific Papers
Abstract
Seeking answers to questions within long scientific research articles is a crucial area of study that aids readers in quickly addressing their inquiries. However, existing question-answering (QA) datasets based on scientific papers are limited in scale and focus solely on textual content. To address this limitation, we introduce SPIQA (Scientific Paper Image Question Answering), the first large-scale QA dataset specifically designed to interpret complex figures and tables within the context of scientific research articles across various domains of computer science. Leveraging the breadth of expertise and ability of multimodal large language models (MLLMs) to understand figures, we employ automatic and manual curation to create the dataset. We craft an information-seeking task involving multiple images that cover a wide variety of plots, charts, tables, schematic diagrams, and result visualizations. SPIQA comprises 270K questions divided into training, validation, and three different evaluation splits. Through extensive experiments with 12 prominent foundational models, we evaluate the ability of current multimodal systems to comprehend the nuanced aspects of research articles. Additionally, we propose a Chain-of-Thought (CoT) evaluation strategy with in-context retrieval that allows fine-grained, step-by-step assessment and improves model performance. We further explore the upper bounds of performance enhancement with additional textual information, highlighting its promising potential for future research and the dataset’s impact on revolutionizing how we interact with scientific literature. ††⋆equal technical contribution, ⋄work done as a student researcher at Google Research.†††Corresponding author ([email protected])
1 Introduction
Surfacing pertinent information within the context of academic research articles is an essential area of study, as it empowers students and researchers to efficiently address their queries which are naturally triggered when reading a scientific paper. However, existing question-answering (QA) datasets anchored on academic articles are limited in terms of scale [70, 20, 29, 14, 34]. This limitation arises due to the complexity and cost associated with curating questions, as understanding such articles demands domain-specific expertise, a detailed understanding of the topic, and a significant amount of time. Additionally, prior QA datasets in this domain only analyze the abstracts, conclusion [57, 20] and the textual paragraphs [56, 54, 66, 29, 14, 63, 34] of scientific articles, overlooking the wealth of information presented in meticulously crafted figures and tables, and hence, fail to leverage and analyze the rich, multidimensional data embedded in these visual elements, which are crucial for a comprehensive understanding of the research presented.
![Refer to caption](extracted/5725838/Figures/Tasks_2.png)
Numerous datasets have been curated to evaluate the QA abilities of Large Language Models (LLMs) on various documents, including factual documents [80, 60, 21, 81, 31, 12, 65, 67], book chapters [27, 28, 49], news articles [69, 35] and more. However, understanding scientific papers poses unique challenges as the systems must comprehend underlying theoretical implications with domain-specific terminologies and verify claims with experimental results and visualizations. There are also several datasets that focus on the comprehension of standalone science diagrams [26, 23, 17], mathematical figures [43, 82], charts [5, 46, 47], plots [48], and tables [58, 71, 9, 8, 11, 25, 50]. However, simultaneously reasoning over all figures and associated text in a scientific article necessitates both multimodal and long-context capabilities.
In contemporary research, figures and tables with associated captions are crucial to understand the motivation and contributions of a work. Comprehending such multimodal content presents a significant real-world challenge. In this work, we introduce SPIQA (Scientific Paper Image Question Answering), the first large-scale QA dataset specifically designed to interpret complex figures and tables in the context of scientific research articles across various domains of computer science. We also develop three well-designed tasks using the SPIQA dataset to assess growing long-context capabilities of MLLMs: (1) Direct QA with figures and tables, where the systems require to answer questions after seeing all figures and tables from a scientific paper, (2) Direct QA with full paper, where the systems analyze the whole paper text along with figures and tables to answer questions and (3) CoT QA, a chain of thought (CoT) retrieval based QA where systems need to first identify helpful figures and then answer the question, allowing to evaluate the models for fine-grained reasoning and grounding capability. We collect the PDFs and source TeXs of 26K papers from various domains of computer science published in top-tier academic conferences and generate 270K question-answer-rationale triplets focusing on the papers’ figures and tables.We further filter and augment two existing scientific QA datasets, QASA [34] and QASPER [14], to identify questions requiring reasoning over figures, tables, and textual paragraphs. Overall, SPIQA contains one training, one validation, and three evaluations split with varying difficulty levels, allowing us to fine-tune and assess the capabilities of large multimodal systems to understand complex scientific research papers. An illustration of the three proposed tasks with example prompts is presented in Figure 1.
We conduct extensive experiments on the SPIQA datasets evaluating the comprehension abilities of several closed large multimodal models, and state-of-the-art open-source models, including Gemini [61, 68], GPT4 [52, 1], Claude-3 [2], LLaVA 1.5 [38], InstructBLIP [13], XGen-MM [62], InternLM-XC [15], SPHINX-v2 [16] and CogVLM [75]. We further fine-tune InstructBLIP and LLaVA 1.5 on the SPIQA training set and observe significant improvement compared to zero-shot evaluation, indicating potential pathways for designing specialized systems for scientific QA in the future. In addition to reporting performances on traditional QA metrics, we introduce a novel LLM-based evaluation metric, LLMLogScore (L3Score), which incorporates the confidence of LLMs for assessing the equivalence of answers with the ground-truths based on the log-likelihood token probabilities. We demonstrate the effectiveness of L3Score for automated free-form QA evaluation over existing LLM-based scores [45, 86, 33] which use sensitive rating scales.
In summary, our contributions are: We curate SPIQA, the first large-scale QA dataset specifically designed to interpret complex figures and tables in the context of scientific research papers across various computer science domains. We develop three well-designed tasks for direct and retrieval-based CoT question answering to access baseline systems’ step-by-step fine-grained reasoning capabilities. We propose LLMLogScore (L3Score), a novel LLM-based evaluation metric for free-form QA. L3Score incorporates the confidence of LLMs to evaluate the quality of candidate answers using log-likelihood token probabilities. We perform extensive experiments to demonstrate the value of SPIQA and LLMLogScore to assess multimodal and long-context capabilities of several closed and open-sourced MLLMs.
2 Related Works
Question-answering on long documents is a challenging real-world task that has attracted increasing attention in recent years, following the success of the long-context reasoning ability of LLMs [39, 10, 68, 61, 52, 2, 36]. Though there exist numerous general-domain document QA datasets [80, 60, 21, 81, 31, 12, 65, 67, 74, 59, 79, 84, 73, 69, 35], understanding scientific papers requires domain-specific expertise and reasoning capability, and hence poses a more significant challenge.
Datasets for QA on Scientific Papers. In the early days, cloze-style academic paper QA datasets [56, 54, 77, 66, 57] were automatically constructed by extracting entities and relations and matching them with structure knowledge resources. The questions in such datasets follow a pre-defined format; hence, they are unsuitable for real-world usage where the reader asks detailed open-ended questions [31]. To overcome these issues, PubMedQA [20], BioAsq [29] and QASPER [14] construct corpora of 1K, 3.2K, and 5K human-written questions, respectively. However, the annotators in these datasets only read the abstracts when writing the questions, and hence, most questions are simple and can be answerable in yes/no format or with short extractive spans. ArgSciChat [63] proposes a dataset of argumentive dialogues between scientists on 20 NLP papers. Closer to our work, QASA [34] generates 1798 free-form advanced questions on AI/ML papers where the annotators read the whole paper. However, QASA questions are answerable just from the text paragraphs, neglecting the structured information present in terms of figures and tables.
Datasets for QA on Scientific Diagrams. Solving mathematical problems in a visual context has emerged as a complex reasoning task for MLLMs. Prior attempts, such as GeoQA [7], UniGeo [6], and Geometry3K [44], have exclusively focused on solving geometry-oriented questions. In a different line of research, datasets like DVQA [22], LEAF-QA [5], LEAFQA++ [64], FigureQA [23], PlotQA [48], and ChartQA [46] have been constructed to solve plot and chart-oriented questions. Additionally, there are datasets for QA purely on tabular data, including WTQ [58], TableQA [71], SQA [19], HiTab [11], AIT-QA [25], FetaQA [50], MultiTabQA [53]. More recently, MathVista [43], and MathVerse [82] have integrated different scientific diagrams to develop benchmarks with a wider variety of tasks. However, all existing datasets focus on asking questions about standalone figures or tables. SPIQA bridges this gap by proposing the first scientific QA benchmark that includes questions that require simultaneous reasoning over figures, tables, and textual paragraphs, allowing a more integrated understanding of scientific documents.
3 SPIQA Dataset and Tasks
3.1 Collection Guidelines and Task Formulation
Existing scientific QA benchmarks [56, 66, 54, 20, 29, 14, 63, 34] primarily focus only on text from the main body of the paper, overlooking the wealth of information presented as figures and tables. Further, curating QA anchored in research articles requires domain expertise and a detailed understanding of the paper, making annotations expensive and resulting in smaller-scale data. Our dataset, SPIQA, bridges this gap by systematically curating a large-scale QA benchmark focusing on every aspect of scientific research documents - main text, figures, tables, and their captions, and thus pushing AI systems towards a robust understanding of research articles. Moreover, we annotate which figures and tables help answer a question to evaluate the grounding and CoT reasoning capabilities of large multimodal systems.
While collecting and annotating the SPIQA benchmark, we adhere to the following collection guidelines: We identify 19 different top-tier academic research conferences covering a wide variety of computer science domains where the papers are licensed permissively. We collect 27K PDFs and corresponding TeX sources of research papers presented in those conferences between 2018-2023. Using peer-reviewed articles helps us to maintain the quality of SPIQA. The TeX sources provide high-resolution figures and table TeXs, which can not directly be extracted from the PDFs. We curate questions of varying levels of difficulty based on the collected papers, requiring robust long-context understanding of different kinds of figures and tables associated with their captions and the main body of the paper. Lastly, we identify subsets of questions in two existing datasets, QASA [34] and QASPER [14], which require understanding of figures and tables with the main text, and treat them as two additional evaluation splits of SPIQA. We formulate three novel tasks for the comprehensive evaluation of various QA systems on SPIQA:
-
•
Direct QA with Figures and Tables: In this task setup, we provide all figures and tables with their captions from a paper. The systems are then required to answer questions that necessitate reasoning with one or more figures and tables.
-
•
Direct QA with Full Paper: Here, we provide the entire paper, including the main text, figures, and tables with captions, and ask the systems to answer questions. While the paper text helps by providing additional information, the systems require strong long-context understanding capability to reason over full text.
-
•
CoT QA: To assess the step-by-step reasoning abilities of MLLMs, CoT QA requires systems first to identify relevant figures and tables and then answer the question. For simplicity, CoT QA does not involve full paper text. Detailed prompts for each task are provided in the supplement.
Statistics | Numbers |
---|---|
Total papers | 25,859 |
Published between | 2018 - 2023 |
Total tables | 117,707 |
Total figures | 152,487 |
Figure subcategories | |
- Schematics | 45396 |
- Plots and charts | 72327 |
- Visualizations | 28103 |
- Others | 6661 |
Total generated QAs | 270194 |
Maximum question length | 194 |
Maximum answer length | 333 |
Average question length | 12.98 |
Average answer length | 14.56 |
![Refer to caption](x1.png)
3.2 SPIQA: Data Collection, Question Generation and Filtering
Collection of Paper PDFs and TeX Sources. We begin by collecting a large corpus of scientific research papers across all domains of computer science, focusing on open-source publications. We identified 19 top-tier conferences, as detailed in Figure 2, and gathered the paper PDFs published at these venues between 2018 and 2023. We then filtered this collection to include papers whose TeX sources could be downloaded using the python arXiv API111python arXiv API: https://github.com/lukasschwab/arxiv.py. This process resulted in 25,859 peer-reviewed papers with corresponding TeX sources, which provide high-resolution figures, table TeXs, and the main body of the articles. We additionally use PDFFigures 2.0222PDFFigures 2.0: https://github.com/allenai/pdffigures2 to crop figures from the paper to account for figures that are missed when processing the TeX sources. Overall, we gather 152,487 figures, 117,707 tables, and their captions from 25,859 papers with corresponding main text. It is worth noting that due to our structured step-by-step paper collection strategy, we will have the opportunity to expand SPIQA in the future with papers published in later years and in other open-sourced research fields. Table 1 shows a detailed classification of the collected figures in granular subcategories.
Automatic Question Generation and Filtering. After gathering the main text, figures, and tables from research papers, the next step is to generate high-quality question-answer pairs that cover all aspects of the articles. Manually annotating quality questions requires domain expertise and a deep understanding of the research papers, resulting in existing human-annotated datasets being small-scale or solely based on abstracts [70, 20, 29, 14, 34]. To bridge this gap, we automatically generate QAs by leveraging recent advances in powerful multi-modal large language models. We first conducted a pilot study by selecting 30 papers from various domains and experimenting with multiple models. In our approach, we presented one figure or table to the model, along with passages referencing the figure. We then asked the models to generate a question, answer, and rationale that requires a holistic understanding of the figure or table in the context of the paper. We manually verified the quality of the generated QAs by each model using the following criterion: Answering the question would require a complete understanding of the figure and its importance in the paper. The generated answer is correct and to the point. The question is neither too trivial nor too specific to the figure or table. Our pilot study resulted in Gemini 1.5 Pro being the best model for generating the QAs, and we generated 270,194 QAs over 25,859 papers using Gemini. In the supplementary section, we show our final QA generation prompt and examples of QAs generated by different models.
After generating QAs, we divide the dataset into three splits: 200 papers for evaluation, 200 for validation, and the remaining 25,459 for training, ensuring each split consists of papers from all domains. Despite the impressive question quality, we perform additional manual filtering on the evaluation set to exclude any inconsequential and incorrect QAs. In addition to the three criteria of the pilot study, the filtering guideline contains the following standards: If two or more questions from a paper are similar, keep one. If the question is entirely based on the passage, discard the QA. If the answer is not clear, e.g., the answer says ‘It is hard to answer the question based on the given information‘ or ‘The answer is not evident from the given passage‘, discard the QA. If the QA includes phrases like ‘Based on the passage,’ modify it because we show all figures and tables to the model at once during evaluation. The user interface (UI) and detailed guidelines for filtering with examples are presented in the supplementary. Since only around 11% of questions are discarded during filtering the evaluation set, we do not perform additional filtering on the train and validation splits. After filtering, the final evaluation set contains 666 questions, and we refer to this split as test-A.
Split | # Papers | # Ques. | # Figures | # Tables | |||
---|---|---|---|---|---|---|---|
Sche. | Plots & Charts | Vis. | Others. | ||||
Train | 25,459 | 262,524 | 44,008 | 70,041 | 27,297 | 6,450 | 114,728 |
Val | 200 | 2,085 | 360 | 582 | 173 | 55 | 915 |
test-A | 118 | 666 | 154 | 301 | 131 | 95 | 434 |
test-B | 65 | 228 | 147 | 156 | 133 | 17 | 341 |
test-C | 314 | 493 | 415 | 404 | 26 | 66 | 1332 |
Additional Evaluation Sets with Human Written QAs. Since the questions and answers in test-A are automatically generated by Gemini, to develop a robust and complete QA benchmark on scientific articles, we curate two additional test sets with human-written QAs by utilizing two existing datasets, QASA [34] and QASPER [14]. However, the human annotators for these datasets mainly considered the paper text. We aim to identify the questions in these datasets that require reasoning with figures or tables for comprehensive answers. For every question, both QASA and QASPER provide evidence sentences from the paper, which are crucial for answering. We parsed these evidence sentences to look for phrases like ‘According to Figure x,’ ‘As shown in Table y,’ ‘Figure z presents,’ and separate such questions, and treat the corresponding figure and tables as evidence. We collect the PDFs for the papers in QASA and QASPER from arXiv, and extract the figures using PDFFigures 2.0. We conduct additional manual filtering to verify that the identified evidence figures help answer the questions. This process resulted in 228 questions from QASA and 493 questions from QASPER, where figures or tables are essential for answering. We refer to these sets generated from QASA and QASPER as test-B and test-C, respectively. The UI for filtering is shown in the supplementary.
Method | SPIQA test-A | SPIQA test-B | SPIQA test-C | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
M | R-L | C | B-F1 | L3S | M | R-L | C | B-F1 | L3S | M | R-L | C | B-F1 | L3S | |
Zero-shot Closed-Weight MLLMs | |||||||||||||||
Gemini Pro Vision [68] | 22.9 | 38.3 | 124.6 | 64.87 | 43.85 | 9.9 | 19.0 | 29.1 | 54.83 | 31.84 | 11.6 | 19.4 | 47.8 | 48.95 | 31.98 |
Gemini 1.5 Flash [61] | 25.4 | 38.8 | 110.9 | 65.84 | 54.20 | 11.5 | 19.4 | 24.4 | 56.32 | 36.04 | 14.4 | 18.1 | 45.5 | 48.79 | 36.67 |
Gemini 1.5 Pro [61] | 23.4 | 35.5 | 87.1 | 64.36 | 53.49 | 10.8 | 19.3 | 26.8 | 56.62 | 43.27 | 12.6 | 16.8 | 40.2 | 47.51 | 36.72 |
Claude 3 (Opus) [2] | 25.0 | 41.5 | 120.2 | 65.84 | 61.26 | 12.7 | 19.2 | 17.0 | 57.03 | 49.54 | 15.5 | 29.7 | 92.6 | 52.35 | 43.88 |
GPT-4 Vision [1] | 23.1 | 37.7 | 113.8 | 64.01 | 56.67 | 12.2 | 18.8 | 23.7 | 55.09 | 43.62 | 15.2 | 22.9 | 75.5 | 51.02 | 40.85 |
GPT-4o [52] | 25.5 | 42.2 | 133.7 | 66.14 | 64.00 | 10.7 | 18.9 | 31.8 | 53.73 | 46.22 | 15.6 | 31.3 | 98.4 | 53.57 | 46.68 |
Zero-shot Open-Weight MLLMs | |||||||||||||||
SPHINX-v2 [16] | 2.6 | 3.2 | 13.4 | 6.25 | 3.34 | 0.1 | 0.3 | 0.4 | 2.08 | 1.65 | 1.0 | 3.3 | 11.0 | 8.03 | 3.32 |
InstructBLIP-7B [13] | 9.5 | 18.9 | 62.6 | 47.70 | 7.50 | 3.5 | 9.5 | 16.3 | 39.62 | 7.07 | 2.8 | 15.5 | 36.6 | 48.45 | 8.79 |
LLaVA-1.5-7B [38] | 22.6 | 34.7 | 117.8 | 61.61 | 13.86 | 7.7 | 15.5 | 16.8 | 47.21 | 9.63 | 7.0 | 15.1 | 26.7 | 45.55 | 9.53 |
XGen-MM [62] | 17.3 | 30.6 | 127.0 | 58.41 | 13.74 | 4.4 | 8.0 | 11.1 | 35.49 | 8.18 | 4.2 | 17.4 | 46.4 | 45.25 | 10.66 |
InternLM-XC [15] | 22.2 | 29.2 | 73.7 | 53.57 | 18.28 | 8.1 | 12.9 | 16.8 | 36.00 | 12.47 | 8.5 | 11.4 | 20.5 | 34.58 | 11.84 |
CogVLM [75] | 20.4 | 27.9 | 59.2 | 51.24 | 16.89 | 7.9 | 16.0 | 26.2 | 43.93 | 9.60 | 9.7 | 13.9 | 24.4 | 42.90 | 12.52 |
Fine-tuned MLLMs | |||||||||||||||
InstructBLIP-7B [13] | 17.8 | 32.5 | 110.0 | 62.10 | 43.90 | 8.8 | 17.2 | 28.6 | 52.79 | 31.82 | 10.1 | 22.8 | 69.8 | 50.22 | 33.48 |
8.3 | 13.6 | 47.4 | 14.40 | 36.40 | 5.3 | 7.7 | 12.3 | 13.17 | 24.75 | 7.3 | 7.3 | 33.2 | 1.77 | 24.69 | |
LLaVA-1.5-7B [38] | 23.8 | 36.0 | 121.2 | 63.74 | 45.45 | 11.0 | 18.4 | 29.5 | 53.13 | 33.50 | 10.5 | 24.1 | 69.6 | 50.15 | 32.40 |
1.2 | 1.3 | 3.4 | 2.13 | 31.59 | 3.3 | 3.1 | 12.7 | 5.92 | 23.87 | 3.5 | 9.0 | 42.9 | 4.60 | 22.87 |
3.3 Dataset Analysis
Splits & Statistics. The main statistics of the collected papers, generated questions, and data splits are presented in Tables 1 and 2. SPIQA encompasses 25,859 computer science papers published in top-tier conferences between 2018-2023, containing 152,487 figures and 117,707 tables. Figure 2 shows the distribution of figures and tables in every paper. We generate a total of 270,194 QAs focusing on the figures and tables along with the main text of the papers. The questions and answers, on average, contain 12.98 and 14.56 words, respectively. Notably, we observe high variances in their lengths - 20.47 for questions and 243.29 for answers - indicating a diverse range of patterns in SPIQA. The training, validation, and test-A splits include papers from every source conference and ensure that questions from the same paper remain in the same split. The test-B and test-C splits are generated from QASA [34] and QASPER [14] and contain human-written QAs. Examples from the dataset, illustrated in Figure 4, highlight two different questions centered on different types of figures. Additionally, we provide a comprehensive comparison of SPIQA with existing scientific QA datasets in the supplementary materials.
4 LLMLogScore (L3Score): An Improved Metric for Free-form QA
Evaluating free-form QA is challenging because the answers are often descriptive and lack a predefined format. Current LLMs generate varied and detailed responses that may appear different but are still accurate, which traditional QA evaluation metrics such as BLEU [55] and ROUGE [37] often fail to capture. Inspired by the ability of LLMs to evaluate natural language generation (NLG) [85, 40, 24], three recent approaches, LAVE [45], LIMA [86], and Prometheus-Vision [33], utilize the in-context capability of instruction-tuned LLMs to rate candidate answers on 3, 6, and 5-point scales, respectively. However, these metrics are highly sensitive to the chosen scale range and do not consider the LLM’s confidence in the provided ratings.
We alleviate the necessity of a predefined scale range and detailed interpretation of every point in the scale by proposing LLMLogScore (L3Score), which directly uses the log-likelihood probabilities generated by an LLM for evaluating the answers. We use GPT-4o [52] as our LLM, show the model the candidate and the ground-truth answers, and ask if the semantic meaning of the candidate and the ground-truth are similar in the context of the question. The LLM is expected to answer yes or no in a single word. We show the exact prompt used for calculating L3Score in the supplementary. Next, instead of considering the final response by the LLM, we look into the top-5333We choose for top- log probabilities as this is the highest value of returned by the OpenAI API. log probabilities and corresponding tokens, and we define the L3Score metric as follows:
(1) |
is the exponential and softmax is the softmax operation, and are the log probability for the tokens ‘yes’ and ‘no’ and represents the vector [, ]. Essentially L3Score renormalizes the probabilities of tokens ‘yes’ and ‘no’ to sum to 1. However, due to the caveat that we use a closed model, only the top-5 log probabilities are available to us, hence we may need to approximate the log probability if one or both tokens are missing from the top-5. We do it as follows
-
1.
If neither oder is in the top-5, L3Score 0.
-
2.
If only one of oder is present, then we approximate the for the complementary missing token (denoted ), by considering the minimum (min) of the token with the lowest probability () in the top-5 vs. log of the probability mass remaining () excluding the top-5.
If the top-5 log probabilities in descending order are . Let represent the token (either ‘yes’ or ‘no’) that is present in the top-5, with its corresponding log probability denoted as .
(2) |
Figure 4 shows QA evaluations where L3Score is more appropriate than ROUGE and BERTScore. We provide additional examples comparing L3Score with other LLM-based metrics in supplementary.
Method | SPIQA test-A | SPIQA test-B | SPIQA test-C | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Ret. | QA | Ret. | QA | Ret. | QA | |||||||||||||
Acc. | M | R-L | C | B-F1 | L3S | Acc. | M | R-L | C | B-F1 | L3S | Acc. | M | R-L | C | B-F1 | L3S | |
Gemini 1.5 Flash [61] | 25.4 | 38.8 | 110.9 | 65.84 | 54.20 | 11.5 | 19.4 | 24.4 | 56.32 | 36.04 | 14.4 | 18.1 | 45.5 | 48.79 | 36.67 | |||
w/ Full Paper | 27.1 | 41.5 | 125.2 | 69.20 | 58.12 | 13.7 | 24.1 | 53.4 | 59.95 | 37.42 | 14.8 | 18.9 | 52.0 | 49.77 | 37.25 | |||
w/ CoT | 86.18 | 26.0 | 39.6 | 120.5 | 68.11 | 56.57 | 57.45 | 10.9 | 19.5 | 26.5 | 57.75 | 35.75 | 69.37 | 13.1 | 18.5 | 47.8 | 49.36 | 34.28 |
Gemini 1.5 Pro [61] | 23.4 | 35.5 | 87.1 | 64.36 | 53.49 | 10.8 | 19.3 | 26.8 | 56.62 | 43.27 | 12.6 | 16.8 | 40.2 | 47.51 | 36.72 | |||
w/ Full Paper | 27.0 | 40.4 | 116.8 | 69.05 | 61.80 | 13.5 | 22.3 | 34.8 | 59.18 | 47.51 | 13.2 | 17.5 | 54.3 | 49.25 | 39.48 | |||
w/ CoT | 85.88 | 25.6 | 38.7 | 99.5 | 67.15 | 64.68 | 62.28 | 11.2 | 18.6 | 27.0 | 56.46 | 47.38 | 70.79 | 14.6 | 18.7 | 55.7 | 49.79 | 41.12 |
GPT-4 Vision [1] | 23.1 | 37.7 | 113.8 | 64.01 | 56.67 | 12.2 | 18.8 | 23.7 | 55.09 | 43.62 | 15.2 | 22.9 | 75.5 | 51.02 | 40.85 | |||
w/ Full Paper | 27.0 | 39.5 | 128.7 | 67.24 | 62.45 | 14.8 | 22.1 | 28.3 | 58.33 | 46.63 | 15.6 | 23.8 | 94.8 | 52.46 | 42.28 | |||
w/ CoT | 83.25 | 25.6 | 38.8 | 94.6 | 66.92 | 63.37 | 60.45 | 11.6 | 20.0 | 27.4 | 57.82 | 45.35 | 66.73 | 14.5 | 19.4 | 56.5 | 50.43 | 43.83 |
GPT-4o [52] | 25.5 | 42.2 | 133.7 | 66.14 | 64.00 | 10.7 | 18.9 | 31.8 | 53.73 | 46.22 | 15.6 | 31.3 | 98.4 | 53.57 | 46.68 | |||
w/ Full Paper | 27.4 | 45.2 | 137.5 | 68.75 | 65.89 | 14.6 | 24.1 | 55.0 | 59.39 | 47.61 | 16.3 | 34.0 | 107.5 | 54.15 | 48.10 | |||
w/ CoT | 85.58 | 27.2 | 43.6 | 131.0 | 69.34 | 66.09 | 63.63 | 10.8 | 20.0 | 35.8 | 57.75 | 46.52 | 70.38 | 15.7 | 22.8 | 64.9 | 52.52 | 48.62 |
5 Experiments
5.1 Experimental Seutp
We evaluate six state-of-the-art closed-source and six open-source models on the test sets of SPIQA for three different task setups: direct QA with figures and tables, direct QA with full paper, and CoT QA. For the long-context models like Gemini [68, 61], GPT [1, 52] and Claude 3 [2], we input all the images together and ask the model to answer questions. Since most open-weight models can only take one image in a single query, we ask the question and show every image one by one in a multi-turn setup, and then the model answers. We use full-resolution images for models with high context length and 224px images for low context length. For evaluating the free-form answers, we report five different metrics for comprehensive analysis - METEOR [4], CIDEr [72], ROUGE-L [37], BERTScore F1 [83] and the proposed L3Score. For the CoT QA task, we also report the top-1 accuracy for retrieving the helpful images to answer the question. We further elaborate on the importance of comprehending the captions with the figures and tables and report granular results on different figure subcategories.
Fine-tuning Details. We fine-tune two open-sourced models, InstructBLIP [13] and LLaVA 1.5 [38] on SPIQA training set with simple QA prompts, where every training sample contains one reference image, corresponding question and answer. We initialize both models from the publicly available checkpoints444InstructBLIP and LLaVA 1.5 and train them for two epochs with LoRA [18] of rank 32. We use AdamW [42] optimizer, a cosine scheduler [41] with a linear warmup for the first 3% steps, a peak learning rate of 1e-5, and a batch size 32. Each training job takes about 4 hours on 8 A6000 GPUs. We do not use the main text from papers during training, as InstructBLIP and LLaVA have a low context length of 2048. We resize the images to 224px for training. The trained models are evaluated for direct QA with figures and tables.
![Refer to caption](extracted/5725838/Figures/test-A_caption_2.png)
![Refer to caption](extracted/5725838/Figures/test-B_caption_2.png)
![Refer to caption](extracted/5725838/Figures/test-C_caption_2.png)
Method | Tables | Figures | Overall | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Schematics | Plots & charts | Visualizations | Other figures | |||||||||||||||
C | B-F1 | L3S | C | B-F1 | L3S | C | B-F1 | L3S | C | B-F1 | L3S | C | B-F1 | L3S | C | B-F1 | L3S | |
Zero-shot Closed-Weight MLLMs | ||||||||||||||||||
Gemini Pro Vision [68] | 130.7 | 65.12 | 39.95 | 111.2 | 66.79 | 45.28 | 127.2 | 63.47 | 45.63 | 119.1 | 65.15 | 51.74 | 113.4 | 65.79 | 47.95 | 124.6 | 64.87 | 43.85 |
Gemini 1.5 Flash [61] | 128.1 | 66.79 | 47.71 | 86.9 | 67.50 | 60.72 | 101.0 | 62.81 | 54.02 | 112.1 | 66.91 | 63.47 | 96.7 | 67.28 | 62.16 | 110.9 | 65.84 | 54.20 |
Gemini 1.5 Pro [61] | 88.9 | 65.77 | 55.53 | 60.8 | 64.67 | 55.80 | 101.6 | 62.48 | 48.34 | 80.4 | 63.63 | 57.83 | 70.4 | 64.22 | 56.28 | 87.1 | 64.36 | 53.49 |
GPT-4 Vision [1] | 132.6 | 64.64 | 56.68 | 44.3 | 63.99 | 60.14 | 133.3 | 63.19 | 53.74 | 93.0 | 62.52 | 58.55 | 69.2 | 63.92 | 60.93 | 113.8 | 64.01 | 56.67 |
GPT-4o [52] | 130.7 | 65.90 | 65.18 | 114.9 | 68.20 | 71.38 | 153.6 | 65.35 | 56.73 | 96.6 | 64.81 | 56.07 | 117.9 | 67.20 | 67.57 | 133.7 | 66.14 | 64.00 |
Zero-shot Open-Weight MLLMs | ||||||||||||||||||
InstructBLIP-7B [13] | 30.6 | 43.59 | 3.68 | 50.9 | 54.48 | 8.28 | 92.2 | 47.11 | 8.92 | 131.1 | 55.63 | 14.81 | 76.7 | 53.44 | 10.26 | 62.6 | 47.70 | 7.50 |
LLaVA-1.5-7B [38] | 104.9 | 58.00 | 8.90 | 86.4 | 67.59 | 18.09 | 159.2 | 61.02 | 15.68 | 123.5 | 65.87 | 18.03 | 95.4 | 66.53 | 18.11 | 117.8 | 61.61 | 13.86 |
XGen-MM [62] | 79.0 | 55.74 | 7.42 | 99.5 | 58.99 | 17.35 | 200.6 | 60.06 | 17.36 | 157.7 | 64.61 | 19.91 | 122.3 | 60.37 | 18.70 | 127.0 | 58.41 | 13.74 |
InternLM-XC [15] | 93.1 | 54.40 | 13.09 | 66.4 | 60.49 | 25.79 | 38.5 | 44.25 | 17.48 | 98.3 | 61.5 | 24.98 | 78.9 | 60.66 | 25.75 | 73.7 | 53.57 | 18.28 |
CogVLM [75] | 79.5 | 52.10 | 13.89 | 50.9 | 51.80 | 19.47 | 47.3 | 50.25 | 18.22 | 32.3 | 49.84 | 20.89 | 43.4 | 51.03 | 20.30 | 59.2 | 51.24 | 16.89 |
5.2 Main Results
We highlight the highest scores among closed and open models in every table with red and blue, respectively, and indicate the performance improvements by fine-tuned models with .
Direct QA w/ Figures and Tables. Table 3 reports the performance of all open, closed, and fine-tuned models for direct QA with figures and tables. We also use the captions with the images in this setup. Among the open-sourced systems, InternLM-XC and CogVLM perform slightly better than others. InternLM-XC achieves 18.28 and 12.47 L3Score on test-A and test-B, which are 5 points superior to InstructBLIP, SPHINX, LLaVA, and XGen-MM. CogVLM performs better than InternLM-XC on test-C, yielding a L3Score of 12.52. Since these models are solely trained on natural images, in most cases, they are unable to understand complex figures and tables and generate random answers. Among the closed models, GPT-4o performs consistently well on test-A and test-C, producing state-of-the-art results on all metrics. Claude-3 also demonstrates strong performance and achieves the highest L3Score score of 49.54 on test-B, which is 3.32 points higher than GPT-4o. We also observe the variability of traditional QA metrics across different models. For example, on test-C, Gemini 1.5 Pro achieves 1.0 point higher METEOR score than Gemini Pro Vision but also attains 2.6 and 7.6 points lower ROUGE and CIDEr scores. In contrast, our proposed L3Score metric considers the semantic meaning of answers instead of mere token matching and persistently generates higher scores for better answers.
The fine-tuned InstructBLIP and LLaVA 1.5 obtain a massive improvement of 28 and 26 point L3Score on average over three test sets compared to corresponding zero-shot models. These fine-tuned models perform almost equally well as Gemini Pro Vision, a powerful long-context closed system. Such results signify the effectiveness of our proposed large-scale training corpus, which will pave the way for developing dedicated QA systems for scientific papers in the future.
Direct QA w/ Full Paper. In this task, we provide the full text of the paper, including figures, tables, and captions, and ask the models to answer a question directly. While the complete text aids in comprehending the article, it also necessitates long-context reasoning capabilities, as scientific papers are typically 8-10 pages long. As shown in Table 4, powerful multimodal models such as Gemini 1.5, GPT-4o, and GPT-4 Vision exhibit significant performance improvements when using the full paper. For example, Gemini 1.5 Pro achieves L3Score improvements of 8.31, 2.24, and 2.76 points with the full text compared to using only figures and tables. This demonstrates the potential of leveraging the full text, which we make available with SPIQA, to develop more advanced models in the future.
CoT QA. Table 4 presents the performance of the Gemini and GPT models on the CoT QA task. In this task, the system first retrieves reference images and then generates the answer. The CoT prompt guides the model through step-by-step reasoning, which often results in better responses. For instance, GPT-4 Vision shows an increase of 6.70, 1.73, and 2.98 in L3Score when using CoT prompts compared to direct QA. Similar improvements are observed in most cases for the Gemini models. For simplicity, we perform CoT QA using only figures and tables.
![Refer to caption](extracted/5725838/Figures/Visualization.png)
5.3 Ablation Study
Figure and Table Captions. In scientific papers, figures and tables are often accompanied by detailed and informative captions. Figure 3 shows that all Gemini and GPT variants experience significant performance drops when captions are excluded. For instance, the best-performing GPT-4o model suffers a 2-point L3Score decrease on test-A when captions are omitted, which underscores the importance of captions in providing context and enhancing comprehension in QA tasks.
Performance on Tables. Table 5 shows the performance of baseline models on tables and figures in test-A. Open-source models struggle with tables, scoring lower than their overall performance. Among closed-source models, Gemini 1.5 Pro, GPT-4 Vision, and GPT-4o perform well. Notably, GPT-4o achieves a 65.18 L3Score on tables, outperforming GPT-4 Vision, the second best by 8.50 points.
Performance on Figure Subcategories. Baseline models perform well on schematic diagrams but struggle with plots, charts, and visualizations. For example, GPT-4o scores 71.38 on schematics but only 56.73 and 56.07 on plots & charts, and visualizations, respectively. Such results indicate the need for improved systems to comprehend scientific diagrams requiring mathematical reasoning.
5.4 Qualitative Results and Error Analysis
Figure 4 illustrates two example questions, ground-truth answers, and outputs from various baseline models. For the plot-based question, both InstructBLIP and Gemini 1.5 Flash produce correct responses. However, only our proposed L3Score evaluates them correctly in both cases. Notably, InstructBLIP’s response (‘Ours’) correctly answers the question despite not matching the ground-truth. Traditional metrics like ROUGE-L and BERTScore fail to evaluate such responses, scoring them as 0. For the schematic-based question, the ground-truth is long and descriptive. GPT-4 Vision generates a significantly correct response, and L3Score accurately evaluates it with a score of 96.9. We observe that the best-performing GPT-4o struggles with complex plots, charts, and tables. Such error cases are detailed in the supplementary materials.
6 Conclusion
We introduce SPIQA (Scientific Paper Image Question Answering), the first large-scale QA dataset specifically designed to interpret complex figures and tables within the context of scientific papers. Additionally, we propose LLMLogScore, an improved metric for free-form QA that accurately analyzes the semantic context of candidate answers relative to the ground truth. Through extensive experiments with 12 prominent foundational models, we evaluate their ability to comprehend the nuanced aspects of research articles. Furthermore, fine-tuning two open-source systems, LLaVA and InstructBLIP, on the SPIQA training set results in significant improvements over zero-shot evaluations, indicating promising avenues for designing specialized systems for scientific QA in the future. Our work lays the foundation for developing advanced QA systems that effectively understand and analyze scientific documents, driving further research in this critical area.
Limitations and Societal Impact. We acknowledge that SPIQA is designed for research purposes and should not be regarded as a comprehensive dataset, as it is restricted to computer science papers. Models trained on our dataset may exhibit biases towards specific topics within this domain and may not perform well on other scientific literature. Extending SPIQA to encompass other scientific domains remains a future prospect.
References
- [1] Josh Achiam, Steven Adler, Sandhini Agarwal, Lama Ahmad, Ilge Akkaya, Florencia Leoni Aleman, Diogo Almeida, Janko Altenschmidt, Sam Altman, Shyamal Anadkat, et al. Gpt-4 technical report. arXiv preprint arXiv:2303.08774, 2023.
- [2] Anthropic. The claude 3 model family: Opus, sonnet, haiku. 2024.
- [3] Alan R Aronson and François-Michel Lang. An overview of metamap: historical perspective and recent advances. Journal of the American Medical Informatics Association, 17(3):229–236, 2010.
- [4] Satanjeev Banerjee and Alon Lavie. Meteor: An automatic metric for mt evaluation with improved correlation with human judgments. In ACL Workshop on Intrinsic and Extrinsic Evaluation Measures for Machine Translation and/or Summarization, pages 65–72, 2005.
- [5] Ritwick Chaudhry, Sumit Shekhar, Utkarsh Gupta, Pranav Maneriker, Prann Bansal, and Ajay Joshi. Leaf-qa: Locate, encode & attend for figure question answering. In WACV, pages 3512–3521, 2020.
- [6] Jiaqi Chen, Tong Li, Jinghui Qin, Pan Lu, Liang Lin, Chongyu Chen, and Xiaodan Liang. Unigeo: Unifying geometry logical reasoning via reformulating mathematical expression. In EMNLP, pages 3313–3323, 2022.
- [7] Jiaqi Chen, Jianheng Tang, Jinghui Qin, Xiaodan Liang, Lingbo Liu, Eric Xing, and Liang Lin. Geoqa: A geometric question answering benchmark towards multimodal numerical reasoning. In Findings of ACL, pages 513–523, 2021.
- [8] Wenhu Chen, Ming-Wei Chang, Eva Schlinger, William Yang Wang, and William W Cohen. Open question answering over tables and text. In ICLR, 2020.
- [9] Wenhu Chen, Hongmin Wang, Jianshu Chen, Yunkai Zhang, Hong Wang, Shiyang Li, Xiyou Zhou, and William Yang Wang. Tabfact: A large-scale dataset for table-based fact verification. In ICLR, 2019.
- [10] Yukang Chen, Shengju Qian, Haotian Tang, Xin Lai, Zhijian Liu, Song Han, and Jiaya Jia. Longlora: Efficient fine-tuning of long-context large language models. arXiv preprint arXiv:2309.12307, 2023.
- [11] Zhoujun Cheng, Haoyu Dong, Zhiruo Wang, Ran Jia, Jiaqi Guo, Yan Gao, Shi Han, Jian-Guang Lou, and Dongmei Zhang. Hitab: A hierarchical table dataset for question answering and natural language generation. In ACL, pages 1094–1110, 2022.
- [12] Eunsol Choi, He He, Mohit Iyyer, Mark Yatskar, Wen-tau Yih, Yejin Choi, Percy Liang, and Luke Zettlemoyer. Quac: Question answering in context. In EMNLP, pages 2174–2184, 2018.
- [13] Wenliang Dai, Junnan Li, Dongxu Li, Anthony Meng Huat Tiong, Junqi Zhao, Weisheng Wang, Boyang Li, Pascale N Fung, and Steven Hoi. Instructblip: Towards general-purpose vision-language models with instruction tuning. NeurIPS, 2023.
- [14] Pradeep Dasigi, Kyle Lo, Iz Beltagy, Arman Cohan, Noah A Smith, and Matt Gardner. A dataset of information-seeking questions and answers anchored in research papers. In NAACL, pages 4599–4610, 2021.
- [15] Xiaoyi Dong, Pan Zhang, Yuhang Zang, Yuhang Cao, Bin Wang, Linke Ouyang, Xilin Wei, Songyang Zhang, Haodong Duan, Maosong Cao, et al. Internlm-xcomposer2: Mastering free-form text-image composition and comprehension in vision-language large model. arXiv preprint arXiv:2401.16420, 2024.
- [16] Peng Gao, Renrui Zhang, Chris Liu, Longtian Qiu, Siyuan Huang, Weifeng Lin, Shitian Zhao, Shijie Geng, Ziyi Lin, Peng Jin, et al. Sphinx-x: Scaling data and parameters for a family of multi-modal large language models. arXiv preprint arXiv:2402.05935, 2024.
- [17] Ting-Yao Hsu, C Lee Giles, and Ting-Hao Huang. Scicap: Generating captions for scientific figures. In Findings of EMNLP, pages 3258–3264, 2021.
- [18] Edward J Hu, Phillip Wallis, Zeyuan Allen-Zhu, Yuanzhi Li, Shean Wang, Lu Wang, Weizhu Chen, et al. Lora: Low-rank adaptation of large language models. In ICLR, 2021.
- [19] Mohit Iyyer, Wen-tau Yih, and Ming-Wei Chang. Search-based neural structured learning for sequential question answering. In ACL, pages 1821–1831, 2017.
- [20] Qiao Jin, Bhuwan Dhingra, Zhengping Liu, William Cohen, and Xinghua Lu. Pubmedqa: A dataset for biomedical research question answering. In EMNLP, pages 2567–2577, 2019.
- [21] Mandar Joshi, Eunsol Choi, Daniel S Weld, and Luke Zettlemoyer. Triviaqa: A large scale distantly supervised challenge dataset for reading comprehension. In ACL, pages 1601–1611, 2017.
- [22] Kushal Kafle, Brian Price, Scott Cohen, and Christopher Kanan. Dvqa: Understanding data visualizations via question answering. In CVPR, pages 5648–5656, 2018.
- [23] Samira Ebrahimi Kahou, Vincent Michalski, Adam Atkinson, Ákos Kádár, Adam Trischler, and Yoshua Bengio. Figureqa: An annotated figure dataset for visual reasoning. arXiv preprint arXiv:1710.07300, 2017.
- [24] Ehsan Kamalloo, Nouha Dziri, Charles Clarke, and Davood Rafiei. Evaluating open-domain question answering in the era of large language models. In ACL, pages 5591–5606, 2023.
- [25] Yannis Katsis, Saneem Chemmengath, Vishwajeet Kumar, Samarth Bharadwaj, Mustafa Canim, Michael Glass, Alfio Gliozzo, Feifei Pan, Jaydeep Sen, Karthik Sankaranarayanan, et al. Ait-qa: Question answering dataset over complex tables in the airline industry. In NAACL, pages 305–314, 2022.
- [26] Aniruddha Kembhavi, Mike Salvato, Eric Kolve, Minjoon Seo, Hannaneh Hajishirzi, and Ali Farhadi. A diagram is worth a dozen images. In ECCV, pages 235–251. Springer, 2016.
- [27] Aniruddha Kembhavi, Minjoon Seo, Dustin Schwenk, Jonghyun Choi, Ali Farhadi, and Hannaneh Hajishirzi. Are you smarter than a sixth grader? textbook question answering for multimodal machine comprehension. In CVPR, pages 4999–5007, 2017.
- [28] Tomáš Kočiskỳ, Jonathan Schwarz, Phil Blunsom, Chris Dyer, Karl Moritz Hermann, Gábor Melis, and Edward Grefenstette. The narrativeqa reading comprehension challenge. TACL, 6:317–328, 2018.
- [29] Martin Krallinger, Anastasia Krithara, Anastasios Nentidis, Georgios Paliouras, and Marta Villegas. Bioasq at clef2020: Large-scale biomedical semantic indexing and question answering. In Advances in Information Retrieval: 42nd European Conference on IR Research, ECIR 2020, Lisbon, Portugal, April 14–17, 2020, Proceedings, Part II 42, pages 550–556. Springer, 2020.
- [30] Anastasia Krithara, Anastasios Nentidis, Konstantinos Bougiatiotis, and Georgios Paliouras. Bioasq-qa: A manually curated corpus for biomedical question answering. Scientific Data, 10(1):170, 2023.
- [31] Tom Kwiatkowski, Jennimaria Palomaki, Olivia Redfield, Michael Collins, Ankur Parikh, Chris Alberti, Danielle Epstein, Illia Polosukhin, Jacob Devlin, Kenton Lee, et al. Natural questions: a benchmark for question answering research. TACL, 7:453–466, 2019.
- [32] Robert Leaman, Rezarta Islamaj Doğan, and Zhiyong Lu. Dnorm: disease name normalization with pairwise learning to rank. Bioinformatics, 29(22):2909–2917, 2013.
- [33] Seongyun Lee, Seungone Kim, Sue Hyun Park, Geewook Kim, and Minjoon Seo. Prometheus-vision: Vision-language model as a judge for fine-grained evaluation. arXiv preprint arXiv:2401.06591, 2024.
- [34] Yoonjoo Lee, Kyungjae Lee, Sunghyun Park, Dasol Hwang, Jaehyeon Kim, Hong-in Lee, and Moontae Lee. Qasa: advanced question answering on scientific articles. In ICML, pages 19036–19052. PMLR, 2023.
- [35] Adam D Lelkes, Vinh Q Tran, and Cong Yu. Quiz-style question generation for news stories. In Proceedings of the Web Conference 2021, pages 2501–2511, 2021.
- [36] Jiaqi Li, Mengmeng Wang, Zilong Zheng, and Muhan Zhang. Can long-context large language models understand long contexts? In ICLR, 2024.
- [37] Chin-Yew Lin. Rouge: A package for automatic evaluation of summaries. In Text Summarization Branches Out, pages 74–81, 2004.
- [38] Haotian Liu, Chunyuan Li, Yuheng Li, and Yong Jae Lee. Improved baselines with visual instruction tuning. In NeurIPS Workshop on Instruction Tuning and Instruction Following, 2023.
- [39] Nelson F Liu, Kevin Lin, John Hewitt, Ashwin Paranjape, Michele Bevilacqua, Fabio Petroni, and Percy Liang. Lost in the middle: How language models use long contexts. TACL, 12:157–173, 2024.
- [40] Yang Liu, Dan Iter, Yichong Xu, Shuohang Wang, Ruochen Xu, and Chenguang Zhu. G-eval: Nlg evaluation using gpt-4 with better human alignment. In EMNLP, pages 2511–2522, 2023.
- [41] Ilya Loshchilov and Frank Hutter. Sgdr: Stochastic gradient descent with warm restarts. In ICLR, 2016.
- [42] Ilya Loshchilov and Frank Hutter. Decoupled weight decay regularization. In ICLR, 2018.
- [43] Pan Lu, Hritik Bansal, Tony Xia, Jiacheng Liu, Chunyuan Li, Hannaneh Hajishirzi, Hao Cheng, Kai-Wei Chang, Michel Galley, and Jianfeng Gao. Mathvista: Evaluating mathematical reasoning of foundation models in visual contexts. In ICLR, 2023.
- [44] Pan Lu, Ran Gong, Shibiao Jiang, Liang Qiu, Siyuan Huang, Xiaodan Liang, and Song-chun Zhu. Inter-gps: Interpretable geometry problem solving with formal language and symbolic reasoning. In ACL, pages 6774–6786, 2021.
- [45] Oscar Mañas, Benno Krojer, and Aishwarya Agrawal. Improving automatic vqa evaluation using large language models. In AAAI, volume 38, pages 4171–4179, 2024.
- [46] Ahmed Masry, Xuan Long Do, Jia Qing Tan, Shafiq Joty, and Enamul Hoque. Chartqa: A benchmark for question answering about charts with visual and logical reasoning. In Findings of ACL, pages 2263–2279, 2022.
- [47] Ahmed Masry, Parsa Kavehzadeh, Xuan Long Do, Enamul Hoque, and Shafiq Joty. UniChart: A universal vision-language pretrained model for chart comprehension and reasoning. In Houda Bouamor, Juan Pino, and Kalika Bali, editors, EMNLP, pages 14662–14684, Singapore, December 2023. Association for Computational Linguistics.
- [48] Nitesh Methani, Pritha Ganguly, Mitesh M Khapra, and Pratyush Kumar. Plotqa: Reasoning over scientific plots. In WACV, pages 1527–1536, 2020.
- [49] Todor Mihaylov, Peter Clark, Tushar Khot, and Ashish Sabharwal. Can a suit of armor conduct electricity? a new dataset for open book question answering. In EMNLP, pages 2381–2391, 2018.
- [50] Linyong Nan, Chiachun Hsieh, Ziming Mao, Xi Victoria Lin, Neha Verma, Rui Zhang, Wojciech Kryściński, Hailey Schoelkopf, Riley Kong, Xiangru Tang, et al. Fetaqa: Free-form table question answering. TACL, 10:35–49, 2022.
- [51] OpenAI. Gpt-3.5 turbo, 2023.
- [52] OpenAI. Gpt-4o release, 2024.
- [53] Vaishali Pal, Andrew Yates, Evangelos Kanoulas, and Maarten de Rijke. Multitabqa: Generating tabular answers for multi-table question answering. In ACL, 2023.
- [54] Anusri Pampari, Preethi Raghavan, Jennifer Liang, and Jian Peng. Emrqa: A large corpus for question answering on electronic medical records. In EMNLP, 2018.
- [55] Kishore Papineni, Salim Roukos, Todd Ward, and Wei-Jing Zhu. Bleu: a method for automatic evaluation of machine translation. In ACL, pages 311–318, 2002.
- [56] Dimitris Pappas, Ion Androutsopoulos, and Harris Papageorgiou. Bioread: A new dataset for biomedical reading comprehension. In Proceedings of the Eleventh International Conference on Language Resources and Evaluation (LREC 2018), 2018.
- [57] Dimitris Pappas, Petros Stavropoulos, Ion Androutsopoulos, and Ryan McDonald. Biomrc: A dataset for biomedical machine reading comprehension. In Proceedings of the 19th SIGBioMed Workshop on Biomedical Language Processing, pages 140–149, 2020.
- [58] Panupong Pasupat and Percy Liang. Compositional semantic parsing on semi-structured tables. In ACL, pages 1470–1480, 2015.
- [59] Bhawna Piryani, Jamshid Mozafari, and Adam Jatowt. Chroniclingamericaqa: A large-scale question answering dataset based on historical american newspaper pages. In SIGIR, 2024.
- [60] Pranav Rajpurkar, Jian Zhang, Konstantin Lopyrev, and Percy Liang. Squad: 100,000+ questions for machine comprehension of text. In EMNLP, pages 2383–2392, 2016.
- [61] Machel Reid, Nikolay Savinov, Denis Teplyashin, Dmitry Lepikhin, Timothy Lillicrap, Jean-baptiste Alayrac, Radu Soricut, Angeliki Lazaridou, Orhan Firat, Julian Schrittwieser, et al. Gemini 1.5: Unlocking multimodal understanding across millions of tokens of context. arXiv preprint arXiv:2403.05530, 2024.
- [62] Salesforce AI Research. xgen-mm-phi3-mini-instruct model card, May 2024.
- [63] Federico Ruggeri, Mohsen Mesgar, and Iryna Gurevych. A dataset of argumentative dialogues on scientific papers. In ACL, pages 7684–7699, 2023.
- [64] Hrituraj Singh and Sumit Shekhar. Stl-cqa: Structure-based transformers with localization and encoding for chart question answering. In EMNLP, pages 3275–3284, 2020.
- [65] Haitian Sun, William Cohen, and Ruslan Salakhutdinov. Conditionalqa: A complex reading comprehension dataset with conditional answers. In ACL, pages 3627–3637, 2022.
- [66] Simon Šuster and Walter Daelemans. Clicr: a dataset of clinical case reports for machine reading comprehension. In NAACL, pages 1551–1563, 2018.
- [67] Ryota Tanaka, Kyosuke Nishida, Kosuke Nishida, Taku Hasegawa, Itsumi Saito, and Kuniko Saito. Slidevqa: A dataset for document visual question answering on multiple images. In AAAI, volume 37, pages 13636–13645, 2023.
- [68] Gemini Team, Rohan Anil, Sebastian Borgeaud, Yonghui Wu, Jean-Baptiste Alayrac, Jiahui Yu, Radu Soricut, Johan Schalkwyk, Andrew M Dai, Anja Hauth, et al. Gemini: a family of highly capable multimodal models. arXiv preprint arXiv:2312.11805, 2023.
- [69] Adam Trischler, Tong Wang, Xingdi Yuan, Justin Harris, Alessandro Sordoni, Philip Bachman, and Kaheer Suleman. Newsqa: A machine comprehension dataset. In Proceedings of the 2nd Workshop on Representation Learning for NLP, pages 191–200, 2017.
- [70] George Tsatsaronis, Georgios Balikas, Prodromos Malakasiotis, Ioannis Partalas, Matthias Zschunke, Michael R Alvers, Dirk Weissenborn, Anastasia Krithara, Sergios Petridis, Dimitris Polychronopoulos, et al. An overview of the bioasq large-scale biomedical semantic indexing and question answering competition. BMC bioinformatics, 16:1–28, 2015.
- [71] Svitlana Vakulenko and Vadim Savenkov. Tableqa: Question answering on tabular data. arXiv preprint arXiv:1705.06504, 2017.
- [72] Ramakrishna Vedantam, C Lawrence Zitnick, and Devi Parikh. Cider: Consensus-based image description evaluation. In CVPR, pages 4566–4575, 2015.
- [73] Cunxiang Wang, Ruoxi Ning, Boqi Pan, Tonghui Wu, Qipeng Guo, Cheng Deng, Guangsheng Bao, Qian Wang, and Yue Zhang. Novelqa: A benchmark for long-range novel question answering. arXiv preprint arXiv:2403.12766, 2024.
- [74] Jiexin Wang, Adam Jatowt, and Masatoshi Yoshikawa. Archivalqa: a large-scale benchmark dataset for open-domain question answering over historical news collections. In SIGIR, pages 3025–3035, 2022.
- [75] Weihan Wang, Qingsong Lv, Wenmeng Yu, Wenyi Hong, Ji Qi, Yan Wang, Junhui Ji, Zhuoyi Yang, Lei Zhao, Xixuan Song, et al. Cogvlm: Visual expert for pretrained language models. arXiv preprint arXiv:2311.03079, 2023.
- [76] Chih-Hsuan Wei, Bethany R Harris, Donghui Li, Tanya Z Berardini, Eva Huala, Hung-Yu Kao, and Zhiyong Lu. Accelerating literature curation with text-mining tools: a case study of using pubtator to curate genes in pubmed abstracts. Database, 2012:bas041, 2012.
- [77] Johannes Welbl, Pontus Stenetorp, and Sebastian Riedel. Constructing datasets for multi-hop reading comprehension across documents. TACL, 6:287–302, 2018.
- [78] Johannes Welbl, Pontus Stenetorp, and Sebastian Riedel. Constructing datasets for multi-hop reading comprehension across documents. TACL, 6:287–302, 2018.
- [79] Ying Xu, Dakuo Wang, Mo Yu, Daniel Ritchie, Bingsheng Yao, Tongshuang Wu, Zheng Zhang, Toby Jia-Jun Li, Nora Bradford, Branda Sun, Tran Bao Hoang, Yisi Sang, Yufang Hou, Xiaojuan Ma, Diyi Yang, Nanyun Peng, Zhou Yu, and Mark Warschauer. Fantastic questions and where to find them: FairytaleQA – an authentic dataset for narrative comprehension. ACL, 2022.
- [80] Yi Yang, Wen-tau Yih, and Christopher Meek. Wikiqa: A challenge dataset for open-domain question answering. In EMNLP, pages 2013–2018, 2015.
- [81] Zhilin Yang, Peng Qi, Saizheng Zhang, Yoshua Bengio, William Cohen, Ruslan Salakhutdinov, and Christopher D Manning. Hotpotqa: A dataset for diverse, explainable multi-hop question answering. In EMNLP, pages 2369–2380, 2018.
- [82] Renrui Zhang, Dongzhi Jiang, Yichi Zhang, Haokun Lin, Ziyu Guo, Pengshuo Qiu, Aojun Zhou, Pan Lu, Kai-Wei Chang, Peng Gao, et al. Mathverse: Does your multi-modal llm truly see the diagrams in visual math problems? arXiv preprint arXiv:2403.14624, 2024.
- [83] Tianyi Zhang, Varsha Kishore, Felix Wu, Kilian Q Weinberger, and Yoav Artzi. Bertscore: Evaluating text generation with bert. In ICLR, 2019.
- [84] Sanqiang Zhao, Seokhwan Kim, Yang Liu, Robinson Piramuthu, and Dilek Hakkani-Tür. Storyqa: Story grounded question answering dataset. In AAAI 2023 Workshop on Knowledge Augmented Methods for NLP, 2023.
- [85] Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al. Judging llm-as-a-judge with mt-bench and chatbot arena. NeurIPS, 36, 2023.
- [86] Chunting Zhou, Pengfei Liu, Puxin Xu, Srinivasan Iyer, Jiao Sun, Yuning Mao, Xuezhe Ma, Avia Efrat, Ping Yu, Lili Yu, et al. Lima: Less is more for alignment. NeurIPS, 36, 2023.
Appendix A Dataset and Code Release
Following NeurIPS Dataset and Benchmark Track guidelines, we publicly release the SPIQA dataset on Hugging Face: https://huggingface.co/datasets/google/spiqa. Our evaluation and metric computation scripts, along with responses from all closed- and open-source models, are accessible in the GitHub repository: https://github.com/google/spiqa. SPIQA will be properly maintained and will publicly remain available under the Creative Commons Attribution License (CC BY 4.0). The evaluation code and library for L3Score are available in the Github repository under Apache 2.0 license. We include the dataset card and README for the resources.
Appendix B Additional Ablation Study
Method | L3Score on SPIQA test-B | ||
---|---|---|---|
Gemini Pro [68] | GPT-3.5 T [51] | GPT-4o [52] | |
Gemini Pro Vision [68] | 47.53 | 28.14 | 33.10 |
Gemini 1.5 Flash [61] | 54.55 | 32.76 | 36.04 |
Gemini 1.5 Pro [61] | 56.78 | 35.15 | 43.27 |
GPT-4 Vision [1] | 65.83 | 38.30 | 43.62 |
GPT-4o [52] | 68.61 | 39.58 | 46.22 |
InstructBLIP-7B [13] | 18.82 | 7.26 | 7.07 |
LLaVA-1.5-7B [38] | 20.69 | 10.71 | 9.63 |
XGen-MM [62] | 15.55 | 7.46 | 8.18 |
InternLM-XC [15] | 20.51 | 14.09 | 12.47 |
CogVLM [75] | 18.44 | 10.01 | 9.60 |
![Refer to caption](extracted/5725838/Figures_Supplementary/resolution_ablation.png)
L3Score with Different LLMs. Table B.1 compares the L3Score across various LLMs. Fig. F.1 shows the prompt we used to compute the L3Score to evaluate responses from models. We observe that while the absolute L3Score value varies depending on the chosen LLM, the relative changes in the scores remain consistent. For instance, when the L3Score is computed using GPT-3.5 Turbo, GPT-4o scores 11.44 points higher than Gemini Pro Vision. Using GPT-4o to compute the L3Score, the difference increases to 13.12 points. However, GPT-4o achieves approximately 40% better scores in both cases than Gemini Pro Vision. Different LLMs have varying vocabularies, which can cause slight differences in their log-likelihood probabilities. Notably, L3Score can be computed with any LLM that provides log probabilities for different output tokens. We recommend users consistently use the same LLM across all evaluations to ensure proper score comparison. Except for Table B.1, we always use GPT-4o when calculating L3Score, which is currently one of the most powerful and reasonably affordable publicly available LLMs.
Image Resolution. Figure B.1 demonstrates the performance improvements of different Gemini and GPT-4 systems when using higher image resolutions. Generally, higher resolution images lead to increased L3Scores. However, larger input images result in more input tokens, making the LLM call more expensive. In our main experiments, we always use full-resolution images for the closed models and 224px images for the open models.
Appendix C SPIQA vs. Existing Scientific QA Datasets
Dataset | Free-form Questions? | Question Generation | Num QA | Num Abstracts / Papers | Paper Source | Domain | Questions based on | |
---|---|---|---|---|---|---|---|---|
Full Text | Figs & Tabs | |||||||
BioAsq [70, 29] | ✓ | Human experts | 3.2K | PubMed | Biomedical | ✗ | ✗ | |
BioRead [56] | ✗ | Cloze-style | 16.4M | 3.4M papers | PubMed | Biomedical | ✓ | ✗ |
BioMRC [57] | ✗ | Cloze-style | 812K | 25M abstracts | Pubtator | Biomedical | ✗ | ✗ |
emrQA [54] | ✗ | Cloze-style | 455K | 2.4K clinical notes | i2b2 datasets | EMRs | ✓ | ✗ |
MedHop [78] | ✗ | Cloze-style | 2.5K | 24M abstracts | Medline 2016 | Molecular Biology | ✗ | ✗ |
PubMedQA [20] | ✓ | Human experts | 1K | 120K abstracts | PubMed | Biomedical | ✗ | ✗ |
BioASQ-QA [30] | ✓ | Human experts | 4.7K | PubMed | Biomedical | ✗ | ✗ | |
CliCR [66] | ✗ | Cloze-style | 105K | 12K clinical reports | BMJ Case Reports | Medical | ✗ | ✗ |
ArgSciChat [63] | ✓ | Human Experts | 41 dialogues | 20 papers | arXiv | NLP | ✓ | ✗ |
QASPER [14] | ✓ | Human experts | 5K | 1.5K papers | S2ORC | NLP | ✗ | ✗ |
QASA [34] | ✓ | Human experts | 1.8K | 112 papers | S2ORC | AI/ML | ✓ | ✗ |
SPIQA(Ours) | ✓ | LLMs + Human experts | 270K | 25.5K papers | arXiv | Computer Science (all) | ✓ | ✓ |
Manually generating free-form, open-ended questions and answers on scientific articles is a demanding process in terms of cost and time, requiring expert annotators with detailed domain-specific knowledge. Many existing scientific QA benchmarks typically follow cloze-style question generation to bypass such costly annotation procedures. This approach removes a named entity from a single sentence, and the task is to guess the missing entity after reading the preceding passage. For example, BioRead [56] uses the full text of unlabeled biomedical articles from PubMed555PubMed: https://www.ncbi.nlm.nih.gov/pmc/ and utilizes Metamap [3] to annotate biomedical entities and generate cloze-style questions. BioRead extracts sequences of 21 sentences from the articles, using the first 20 sentences as a passage and the last sentence as a question. BioMRC [57] improves and cleans the BioRead corpus by avoiding cross-section extraction and excluding text from references, captions, and tables. BioMRC uses 25 million abstracts from Pubtator666Pubtator: https://www.ncbi.nlm.nih.gov/research/pubtator3/ [76] and DNORM’s [32] biomedical entity annotations to generate 812K cloze-form questions. In a similar line, emrQA [54] develops the first patient-specific electronic medical records (EMR) QA dataset to help physicians quickly find information from clinical notes collected from the i2b2 dataset777i2b2 datasets: https://www.i2b2.org/NLP/DataSets/. MedHop [78] constructs a corpus for detecting Drug-Drug Interactions (DDIs) from multiple source documents using 24 million paper abstracts collected from the Medline 2016 release888Medline: https://www.nlm.nih.gov/medline/medline_home.html. Similarly, CliCR [66] creates 105K gap-filling queries based on 12K clinical case reports collected from BMJ Case Reports999BMJ Case Report: http://casereports.bmj.com/. However, these cloze-form datasets fail to reflect real-world scenarios where the readers often have open-ended questions when reading a long scientific research paper.
BioAsq [3, 29] is one of the first scientific QA benchmarks that employed human experts to annotate free-form questions based on abstracts of biomedical articles collected from the PubMed corpus. Since BioAsq primarily contains simple factual questions, PubMedQA [20] provides a more comprehensive biomedical QA benchmark that requires detailed reasoning over article abstracts. QASPER [14] introduces the first QA dataset outside the biomedical field by collecting 1,585 natural language processing (NLP) papers from the S2ORC corpus101010S2ORC: https://github.com/allenai/s2orc and generating 5,049 open-ended questions. Graduate students and freelancers with NLP expertise were recruited as annotators and were provided with the titles and abstracts of the research papers. They were instructed to write questions that could not be answered from the title and abstract but were expected to be addressed somewhere in the paper. Subsequently, experts reviewed the annotated queries and the entire paper to provide the answers. Due to this two-step annotation procedure, many questions in QASPER remain unanswerable from the paper. Additionally, most answerable questions in QASPER can be responded to with a binary yes/no answer or a short extractive span, making the questions relatively easy and not requiring a deep understanding of the entire scientific paper. ArgSciChat [63] proposes the first dataset with argumentative dialogues based on NLP papers, consisting of multi-turn conversations between scientists. However, ArgSciChat contains only 41 dialogues over 20 scientific papers.
Closest to our work, QASA [34] contains 1,798 open-ended and detailed questions on 112 AI/ML papers, where annotators read the full paper text when writing the questions. The answers to these questions are multi-faceted and long-form, written by AI/ML experts or the actual authors of the corresponding papers. Due to the expensive annotation scheme, despite maintaining high quality, the QASA benchmark is small-scale and the questions do not require understanding complex figures and diagrams. Our proposed SPIQA dataset differs from existing scientific QA benchmarks in three key aspects: We introduce the first large-scale, free-form, open-ended scientific QA dataset covering all domains of computer science. The questions and answers in SPIQA require a holistic understanding of complex figures and tables, along with the full textual content of the papers. In addition to the direct QA setup, we propose a novel Chain-of-Thought (CoT) QA paradigm, where models first identify helpful figures and tables, and then generate the answer. This step-by-step QA pipeline helps evaluate the fine-grained reasoning capabilities of the baseline systems. Table C.1 provides an extensive comparison of SPIQA with all available scientific QA benchmarks.
Appendix D Additional Dataset Analysis
![Refer to caption](extracted/5725838/Figures_Supplementary/Supplementary_Num_Papers_Year_2.png)
![Refer to caption](extracted/5725838/Figures_Supplementary/questions_histogram.png)
![Refer to caption](extracted/5725838/Figures_Supplementary/answers_histogram.png)
![Refer to caption](extracted/5725838/Figures_Supplementary/rationale_histogram.png)
As described in Section 3.2, SPIQA consists of 25,859 papers published in 19 different top-tier conferences between 2018 and 2023, covering various domains of computer science. Figure 2 categorizes the source conferences into four broad groups: AI/ML: This category contributes 46% of SPIQA, with conferences such as NeurIPS, ICLR, ICML, AAAI, and IJCAI. Natural language processing (NLP): Conferences like ACL and EMNLP make up 19% of the dataset. Computer vision and computer graphics: This category includes CVPR, ICCV, ECCV, WACV, and SIGGRAPH, contributing 17% of the papers. Other computer science domains: These include information retrieval (SIGIR, CIKM), databases (ICDE), networking (WebConf, NSDI), data mining (KDD), and audio and signal processing (ICASSP), collectively covering the remaining 18% of SPIQA. Figure D.1 illustrates the number of papers from each conference and each year between 2018 and 2023.
After collecting the papers, we generated 270,194 question-answer-rationale triplets using Gemini 1.5 Pro, focusing on the figures, tables, and text of the scientific articles. The average lengths of the questions, answers, and rationales are 12.98, 14.56, and 37.42 words, respectively. We also observed high variances: 20.47 for questions, 243.29 for answers, and 468.91 for rationales. As shown in Figure D.2, approximately 36.62% of answers contain 5 words or fewer, 56.70% contain between 6 and 40 words, and the remaining answers contain more than 40 words. This distribution demonstrates the presence of both direct and descriptive or explanatory QAs in SPIQA. The number of words in questions and rationales follows a long-tail normal distribution. Although we do not use the rationales in our experiments, we are releasing them for future research.
Appendix E Additional Quantitative Results
Method | SPIQA test-A | SPIQA test-B | SPIQA test-C | |||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
B@1 | B@2 | B@3 | B@4 | B@1 | B@2 | B@3 | B@4 | B@1 | B@2 | B@3 | B@4 | |
Zero-shot Closed-Weight MLLMs | ||||||||||||
Gemini Pro Vision [68] | 36.3 | 27.8 | 22.7 | 18.8 | 23.1 | 12.2 | 7.3 | 4.7 | 15.7 | 9.0 | 6.1 | 4.5 |
Gemini 1.5 Flash [61] | 35.4 | 27.3 | 22.2 | 18.4 | 26.8 | 13.9 | 8.1 | 5.1 | 16.9 | 10.8 | 8.0 | 6.4 |
Gemini 1.5 Pro [61] | 35.9 | 26.7 | 21.1 | 17.0 | 24.2 | 12.6 | 7.4 | 4.6 | 15.5 | 9.2 | 6.4 | 4.9 |
Claude 3 (Opus) [2] | 37.2 | 30.2 | 23.7 | 18.7 | 21.9 | 11.6 | 6.9 | 4.4 | 16.8 | 10.6 | 7.9 | 6.5 |
GPT-4 Vision [1] | 28.7 | 21.3 | 16.9 | 13.8 | 22.0 | 11.3 | 6.7 | 4.5 | 15.1 | 9.4 | 6.9 | 5.5 |
GPT-4o [52] | 40.5 | 31.4 | 25.5 | 21.2 | 23.3 | 12.6 | 7.9 | 5.3 | 20.8 | 13.1 | 9.6 | 7.6 |
Zero-shot Open-Weight MLLMs | ||||||||||||
InstructBLIP-7B [13] | 15.2 | 11.9 | 10.0 | 8.5 | 1.6 | 0.9 | 0.6 | 0.5 | 5.4 | 2.5 | 1.5 | 0.9 |
LLaVA-1.5-7B [38] | 35.1 | 27.6 | 23.1 | 19.7 | 16.9 | 8.8 | 5.3 | 3.6 | 12.8 | 6.0 | 3.4 | 2.1 |
XGen-MM [62] | 31.1 | 24.9 | 21.1 | 18.2 | 2.8 | 1.4 | 0.9 | 0.6 | 8.0 | 4.6 | 3.3 | 2.5 |
InternLM-XC [15] | 35.4 | 27.5 | 22.6 | 19.1 | 15.6 | 8.3 | 5.3 | 3.7 | 16.2 | 9.1 | 6.2 | 4.6 |
CogVLM [75] | 33.9 | 26.5 | 21.8 | 18.4 | 15.8 | 8.4 | 5.3 | 3.8 | 15.8 | 8.7 | 5.8 | 4.2 |
Fine-tuned MLLMs | ||||||||||||
InstructBLIP-7B [13] | 34.1 | 26.0 | 22.3 | 18.5 | 15.7 | 9.5 | 5.8 | 4.2 | 13.1 | 8.3 | 6.3 | 4.4 |
18.9 | 14.1 | 12.3 | 10.0 | 14.1 | 8.6 | 5.2 | 3.7 | 7.7 | 5.8 | 4.8 | 3.5 | |
LLaVA-1.5-7B [38] | 38.0 | 29.6 | 24.7 | 21.0 | 22.6 | 11.2 | 7.5 | 5.1 | 16.9 | 10.1 | 7.0 | 4.6 |
2.9 | 2.0 | 1.6 | 1.3 | 5.7 | 2.4 | 2.2 | 1.5 | 4.1 | 4.1 | 3.6 | 2.5 |
Method | SPIQA test-A | SPIQA test-B | SPIQA test-C | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Ret. | QA | Ret. | QA | Ret. | QA | ||||||||||
Acc. | B@1 | B@2 | B@3 | B@4 | Acc. | B@1 | B@2 | B@3 | B@4 | Acc. | B@1 | B@2 | B@3 | B@4 | |
Gemini 1.5 Flash [61] | 35.4 | 27.3 | 22.2 | 18.4 | 26.8 | 13.9 | 8.1 | 5.1 | 16.9 | 10.8 | 8.0 | 6.4 | |||
w/ Full Paper | 37.5 | 29.0 | 23.7 | 19.9 | 30.3 | 17.7 | 11.9 | 8.6 | 17.5 | 11.2 | 8.7 | 6.7 | |||
w/ CoT | 86.18 | 37.1 | 28.5 | 23.2 | 19.2 | 57.45 | 26.0 | 13.5 | 7.8 | 4.8 | 69.37 | 15.4 | 9.6 | 7.0 | 5.5 |
Gemini 1.5 Pro [61] | 35.9 | 26.7 | 21.1 | 17.0 | 24.2 | 12.6 | 7.4 | 4.6 | 15.5 | 9.2 | 6.4 | 4.9 | |||
w/ Full Paper | 38.0 | 28.2 | 23.0 | 18.3 | 27.5 | 15.3 | 9.6 | 6.5 | 16.3 | 9.7 | 7.3 | 5.5 | |||
w/ CoT | 85.88 | 37.1 | 27.8 | 22.1 | 17.9 | 62.28 | 24.3 | 12.3 | 7.1 | 4.4 | 70.79 | 16.8 | 10.9 | 8.0 | 6.4 |
GPT-4 Vision [1] | 28.7 | 21.3 | 16.9 | 13.8 | 22.0 | 11.3 | 6.7 | 4.5 | 15.1 | 9.4 | 6.9 | 5.5 | |||
w/ Full Paper | 33.1 | 25.4 | 19.0 | 16.3 | 25.3 | 14.4 | 9.3 | 6.5 | 15.6 | 9.8 | 7.5 | 6.0 | |||
w/ CoT | 83.25 | 34.3 | 26.0 | 20.9 | 17.2 | 60.45 | 26.8 | 14.0 | 8.5 | 5.7 | 66.73 | 15.0 | 9.2 | 6.7 | 5.2 |
GPT-4o [52] | 40.5 | 31.4 | 25.5 | 21.2 | 23.3 | 12.6 | 7.9 | 5.3 | 20.8 | 13.1 | 9.6 | 7.6 | |||
w/ Full Paper | 41.3 | 32.1 | 26.2 | 22.0 | 31.7 | 19.4 | 13.8 | 10.7 | 21.6 | 14.1 | 10.4 | 7.9 | |||
w/ CoT | 85.58 | 40.9 | 31.8 | 26.1 | 21.9 | 63.63 | 24.1 | 13.1 | 8.2 | 5.5 | 70.38 | 18.9 | 11.9 | 8.7 | 6.9 |
Tables E.1 and E.2 report the results for three different tasks: direct QA with figures and tables, direct QA with the full paper, and CoT QA, using various BLEU metrics. Similar to Tables 3 and 4 of the main paper, GPT-4o achieves state-of-the-art scores on test-A and test-C. Gemini 1.5 Flash performs particularly well on test-B, achieving a 26.8 BLEU@1 score, which is more than 2 points higher than any other model. Open-source models generally underperform compared to closed-source models, primarily because they are trained on natural images.
After fine-tuning on the training set, both InstructBLIP-7B and LLaVA-1.5-7B show significant performance improvements. InstructBLIP-7B achieves an average BLEU@1 improvement of 13.56 points across the three datasets, while LLaVA-1.5-7B gains an average of 4.22 points BLEU@1 score. Fine-tuning with scientific diagrams enhances these models’ ability to comprehend the questions, highlighting the potential importance of our training set for building powerful, specialized systems for scientific QA in the future.
CoT prompts and full-text input enhance the QA performance of various Gemini and GPT-4 systems. On test-A, GPT-4o with the full paper achieves a 41.3 BLEU@1 score, which is 0.8 points higher than its direct QA performance. The GPT-4 Vision models gain an impressive 5.6 points in BLEU@1 score when using CoT compared to direct QA. Similar trends are observed in the other two test splits. The step-by-step fine-grained CoT reasoning and long-context understanding ability of Gemini and GPT-4 models with the full paper contribute to these improved results.
Appendix F Prompt for L3Score Computation
Fig. F.1 shows the prompt used for computing the proposed LLMLogScore (L3Score) metric based on the log-likelihood of the models responses to binary yes, no questions. We use it to measure similarity of the model predicted answers to a given ground truth answer.
Appendix G Detailed Annotation Guidelines and User Interfaces
The goal of the SPIQA test set is to assist the evaluation of multimodal models on robust understanding of research articles. We prompt the LLM (Gemini 1.5 pro) to generate questions based on a given image. The prompt we use is shown in Figure G.1 and G.2. After generating questions on all papers (26k papers, 270k images), we subset 200 papers as test set and filter to retain higher quality questions more pertinent to the research article. In the filtering process, we annotate which figures and tables help answer a question to evaluate the grounding and CoT reasoning capabilities of large multimodal systems. The UI used for annotation is shown in Fig. G.3.
We manually verified the quality of the generated question and answer pairs using the following criterion:
-
1.
Answering the question would require a complete understanding of the figure and its importance in the paper.
-
2.
The generated answer is correct and to the point.
-
3.
The question is neither too trivial nor too specific to the figure or table (e.g., avoiding questions like ‘What does the blue line in Figure 1 represent?’ or ‘How many rows are there in Table 2?’ for being trivial)
-
4.
If two or more questions from a paper are similar, keep one.
-
5.
If the question is entirely based on the passage i.e. cannot be answered from the image, discard the question-answer pair.
-
6.
If the answer is not clear, e.g., the answer says ‘It is hard to answer the question based on the given information‘ or ‘The answer is not evident from the given passage‘, discard the question-answer pair.
-
7.
If the question-answer pair includes phrases like ‘Based on the passage,’ modify it because we show all figures and tables to the model at once during evaluation.
We initially employed crowd workers at a cost of per hour for filtering the questions. However after a pilot evaluation of 150 questions which were annotated by two different sets of 3 crowd workers and the authors, we found that the crowd workers lacked domain expertise necessary to grasp the nuances in the questions. Example of the pilot UI with the question and response from a crowd worker is shown in Fig. G.4. The filtering of the final SPIQA testA set was done by the authors.
![Refer to caption](extracted/5725838/Figures_Supplementary/ui_full_screen.png)
![Refer to caption](extracted/5725838/Figures_Supplementary/crowdworkers_lack_expertise.png)
Appendix H Qualitative examples of the task and data in SPIQA
Fig. H.1, H.2 and H.3 show examples of the SPIQA CoT QA task, requiring the analysis of multiple-images when answering questions based on a scientific paper. In the SPIQA dataset, there are on average 10.32 images (figures and tables) per paper. In the CoT QA task, given a question and all the figures and tables, the AI system needs to identify which image is most helpful in answering the question and then provide an answer to the question.
![Refer to caption](extracted/5725838/Figures_Supplementary/Supplementary_Additional_visualization_1.png)
![Refer to caption](extracted/5725838/Figures_Supplementary/Supplementary_Additional_Visualization_2.png)
![Refer to caption](extracted/5725838/Figures_Supplementary/Supplementary_Additional_Visualization_3.png)
Appendix I Error Analysis
Fig. I.1 shows examples where all the models retrieve the correct figure (table or image) that helps answer the question. However, in many cases the models do not correctly answer the question. We observe that in the case of tables (represented as images), models have difficulty parsing and comprehending the information and making errors. This highlights room for further improvements for advanced systems in terms of comprehending table content represented as figures.
![Refer to caption](extracted/5725838/Figures_Supplementary/Supplementary_Error_Analysis.png)