One-shot visual language reasoning over graphical depictions of data
Abstract
Provided is a one-shot solution to visual language reasoning. Example systems described herein decompose the challenge of visual language reasoning into two steps: translation of a graphical depiction of data (e.g., a plot or chart) into text; followed by reasoning over the translated text. In particular, example systems described herein can include a machine-learned visual-to-language conversion model that translates a graphical depiction of a dataset to a set of text descriptive of the dataset. The output of visual-to-language conversion model can then be directly used to prompt a language model, (e.g., a pretrained large language model (LLM)), exploiting the few-shot reasoning capabilities of the language model.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 5 · Forward citations: 0.
Claims (8)
- Claim 1Independent Claim
A computer-implemented method to process graphical depictions of data, the method comprising: obtaining, by a computing system comprising one or more computing devices, an input comprising a graphical depiction of a dataset; processing, by the computing system, the graphical depiction of the dataset with a machine-learned visual-to-language conversion model to generate, as an output of the machine-learned visual-to-language conversion model a set of text descriptive of the dataset, the machine-learned visual-to-language conversion model trained using a loss function that measures a relative mapping similarity, the relative mapping similarity comprising a similarity between predicted headers and training headers; processing, by the computing system, the set of text descriptive of the dataset with a machine-learned language model to generate, as an output of the machine-learned language model, a textual output; and providing, by the computing system, the textual output as an output.
- Claim 2Depends on #1
The computer-implemented method of claim 1, wherein the graphical depiction of the dataset comprises an image that depicts a chart.
- Claim 3Depends on #1
The computer-implemented method of claim 1, wherein the graphical depiction of the dataset comprises an image that depicts a plot.
- Claim 4Depends on #1
The computer-implemented method of claim 1, wherein the set of text descriptive of the dataset comprises a linearized table.
- Claim 5Depends on #1
The computer-implemented method of claim 1, wherein: the input further comprises a natural language query; processing, by the computing system, the set of text descriptive of the dataset with the machine-learned language model comprises jointly processing, by the computing system, the set of text descriptive of the dataset and the natural language query with the machine-learned language model to generate, as the output of the machine-learned language model, the textual output; and the textual output comprises a textual response that is responsive to the natural language query.
- Claim 6Depends on #1
The computer-implemented method of claim 1, wherein the machine-learned visual-to-language conversion model has been trained separately from the machine-learned language model.
- Claim 7Depends on #1
The computer-implemented method of claim 1, wherein: the machine-learned visual-to-language conversion model has been trained using a set of supervised training data comprising a plurality of training pairs, each training pair comprising a training graphical depiction of a dataset and a training textual description of the dataset; and the machine-learned visual-to-language conversion model has been trained to predict the training textual description of the dataset.
- Claim 8Depends on #7
The computer-implemented method of claim 7, wherein the loss function measures the relative mapping similarity between predicted tuples and training tuples, wherein each of the predicted tuples and training tuples comprises a row header, a column header, and a value.
Technical Overview & Description
FIELD The present disclosure relates generally to machine learning for visual language reasoning. More particularly, the present disclosure relates to computerized systems and methods for processing graphical data using visual-to-language and language models to generate a textual output. BACKGROUND Visual language refers to the use of text and visual elements together to convey meaning, which is commonly seen in charts, plots, diagrams, and other mediums such as textbooks, scientific papers, and web pages. However, it is highly complex, as it involves recognizing patterns from various structural units, including lines, shapes, colors, orientations, scales, angles, and spaces, and performing spatial grouping and alignment to extract information for reasoning. Thus, multimodal reasoning on visual language, such as plots and charts, is an intricate task. Attempts to perform multimodal reasoning with machine learning models requires such models to extract relevant information from images and organize it sensibly before performing reasoning over the extracted entries, which is essential for downstream tasks like question answering (QA) on plots/charts. Due to the high complexity of jointly modeling language and symbols, vision-language models that have pretrained on natural images or image-text pairs crawled from the web typically perform poorly on certain visual language tasks or benchmarks. Furthermore, prior state-of-the-art (SOTA) models require at least tens of thousands of training examples, Even then, their reasoning capabilities are still significantly limited, especially when applied to complex humanly-written queries. In particular, previous studies have proposed end-to-end solutions to such visual language tasks. While these studies represent a somewhat effective solution, end-to-end methods need to be finetuned on large amounts of task data. This finetuning process is computationally expensive, requiring significant amounts of computational resources such as
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (5)
| Patent | Title | Year | Citations |
|---|
Non-Patent Literature (10)
- Masry et al.,
- “
- ChartQA: A Benchmark for Question Answering about Charts with Visual and Logical Reasoning
- ”
- , Mar. 19, 2022, ACL 22. (Year: 2022).
- Akhtar et al.,
- “
- Reading and Reasoning Over Chart Images for Evidence-Based Automated Fact-Checking.
- ”
- , arXiv:2301.11843v1, Jan. 27, 2023.