mlsanityData to 14 Oct 2026

Relational Programming with Foundation Models

arXiv 2412.14515 ↗First posted 19 Dec 2024cs.AI cs.PLcited by 7

Not on the map. Why?

Abstract (arXiv)

Foundation models have vast potential to enable diverse AI applications. The powerful yet incomplete nature of these models has spurred a wide range of mechanisms to augment them with capabilities such as in-context learning, information retrieval, and code interpreting. We propose Vieira, a declarative framework that unifies these mechanisms in a general solution for programming with foundation models. Vieira follows a probabilistic relational paradigm and treats foundation models as stateless functions with relational inputs and outputs. It supports neuro-symbolic applications by enabling the seamless combination of such models with logic programs, as well as complex, multi-modal applications by streamlining the composition of diverse sub-models. We implement Vieira by extending the Scallop compiler with a foreign interface that supports foundation models as plugins. We implement plugins for 12 foundation models including GPT, CLIP, and SAM. We evaluate Vieira on 9 challenging tasks that span language, vision, and structured and vector databases. Our evaluation shows that programs in Vieira are concise, can incorporate modern foundation models, and have comparable or better accuracy than competitive baselines.

Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 34 of its 53 references that are in the map. First posted on arXiv 19 Dec 2024.

Builds on

34 of 53 references.

References · 34

  1. 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
  2. 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,863
  3. 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
  4. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  5. 2021Training Verifiers to Solve Math Word Problemscited by 10,109
  6. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,695
  7. 2023Segment Anythingcited by 8,234
  8. 2022Self-Consistency Improves Chain of Thought Reasoning in Language Modelscited by 5,708
  9. 2022Large Language Models are Zero-Shot Reasonerscited by 4,374
  10. 2021Zero-Shot Text-to-Image Generationcited by 4,288
  11. 2023Toolformer: Language Models Can Teach Themselves to Use Toolscited by 4,182
  12. 2021On the Opportunities and Risks of Foundation Modelscited by 4,033
22 more
  1. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
  2. 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,592
  3. 2022Prompt-to-Prompt Image Editing with Cross Attention Controlcited by 2,431
  4. 2022Beyond the Imitation Game: Quantifying and extrapolating the capabilities of language modelscited by 1,998
  5. 2021WebGPT: Browser-assisted question-answering with human feedbackcited by 1,745
  6. 2016CLEVR: A Diagnostic Dataset for Compositional Language and Elementary Visual Reasoningcited by 1,457
  7. 2021ViLT: Vision-and-Language Transformer Without Convolution or Region Supervisioncited by 1,230
  8. 2020MPNet: Masked and Permuted Pre-training for Language Understandingcited by 981
  9. 2022Visual Programming: Compositional visual reasoning without trainingcited by 516
  10. 2019Neural Probabilistic Logic Programming in DeepProbLogcited by 394
  11. 2019The Neuro-Symbolic Concept Learner: Interpreting Scenes, Words, and Sentences From Natural Supervisioncited by 372
  12. 2018Neural-Symbolic VQA: Disentangling Reasoning from Vision and Language Understandingcited by 304
  13. 2019SATNet: Bridging deep learning and logical reasoning using a differentiable satisfiability solvercited by 173
  14. 2019CLUTRR: A Diagnostic Benchmark for Inductive Reasoning from Textcited by 162
  15. 2018DSFD: Dual Shot Face Detectorcited by 116
  16. 2022Plug-and-Play VQA: Zero-shot VQA by Conjoining Large Pretrained Models with Zero Trainingcited by 88
  17. 2019GQA: A New Dataset for Real-World Visual Reasoning and Compositional Question Answeringcited by 78
  18. 2023Scallop: A Language for Neurosymbolic Programmingcited by 63
  19. 2020Learning Reasoning Strategies in End-to-End Differentiable Provingcited by 60
  20. 2020Closed Loop Neural-Symbolic Learning via Integrating Neural Perception, Grammar Parsing, and Symbolic Reasoningcited by 58
  21. 2022From Easy to Hard: Two-stage Selector and Reader for Multi-hop Question Answeringcited by 12
  22. 2023Testing GPT-4 with Wolfram Alpha and Code Interpreter plug-ins on math and science problemscited by 12

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 2.

7 papers.