Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
38 tokens/sec
GPT-4o
59 tokens/sec
Gemini 2.5 Pro Pro
41 tokens/sec
o3 Pro
7 tokens/sec
GPT-4.1 Pro
50 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Neural networks for abstraction and reasoning: Towards broad generalization in machines (2402.03507v1)

Published 5 Feb 2024 in cs.AI, cs.CL, and cs.LG
Neural networks for abstraction and reasoning: Towards broad generalization in machines

Abstract: For half a century, artificial intelligence research has attempted to reproduce the human qualities of abstraction and reasoning - creating computer systems that can learn new concepts from a minimal set of examples, in settings where humans find this easy. While specific neural networks are able to solve an impressive range of problems, broad generalisation to situations outside their training data has proved elusive.In this work, we look at several novel approaches for solving the Abstraction & Reasoning Corpus (ARC), a dataset of abstract visual reasoning tasks introduced to test algorithms on broad generalization. Despite three international competitions with $100,000 in prizes, the best algorithms still fail to solve a majority of ARC tasks and rely on complex hand-crafted rules, without using machine learning at all. We revisit whether recent advances in neural networks allow progress on this task. First, we adapt the DreamCoder neurosymbolic reasoning solver to ARC. DreamCoder automatically writes programs in a bespoke domain-specific language to perform reasoning, using a neural network to mimic human intuition. We present the Perceptual Abstraction and Reasoning Language (PeARL) language, which allows DreamCoder to solve ARC tasks, and propose a new recognition model that allows us to significantly improve on the previous best implementation.We also propose a new encoding and augmentation scheme that allows LLMs to solve ARC tasks, and find that the largest models can solve some ARC tasks. LLMs are able to solve a different group of problems to state-of-the-art solvers, and provide an interesting way to complement other approaches. We perform an ensemble analysis, combining models to achieve better results than any system alone. Finally, we publish the arckit Python library to make future research on ARC easier.

Neural Networks for Abstraction and Reasoning: Towards Broad Generalization in Machines

Introduction to ARC Challenges

The field of AI has long pursued the goal of fostering broad generalization in machines—enabling them to learn new concepts from a minimal set of examples in ways akin to human cognition. The Abstraction and Reasoning Corpus (ARC), designed to measure such capabilities, presents abstract visual reasoning tasks requiring broad generalization beyond the training data. Despite significant interest and efforts, including international competitions, solving ARC tasks remains a formidable challenge, with state-of-the-art algorithms either failing to tackle the majority of ARC tasks or resorting to complex hand-crafted rules without leveraging ML.

Novel Approaches Examined

This paper investigates two novel approaches to tackling ARC tasks through recent advancements in neural networks. Firstly, the adaptation of the DreamCoder algorithm demonstrates significant strides, with the introduction of the Perceptual Abstraction & Reasoning Language (PeARL) enhancing DreamCoder's capabilities. Secondly, a novel methodology enabling LLMs to address ARC tasks reveals that the most advanced models can solve certain problems, indicating a complementary pathway to traditional solvers.

Ensemble Analysis and arckit Library

Beyond individual model performance, this paper proposes an ensemble approach, combining various models to surpass the capabilities of any single system. This methodology not only highlights the heterogeneity of the ARC challenges but also underpins the creation of the arckit Python library, designed to facilitate future research in this vein.

Reflections on Performance

Performance analysis sheds light on the significant challenge ARC poses, with even the most advanced ML models solving only a fraction of the tasks. Despite this, the paper's findings underscore the effectiveness of DreamCoder and its enhancements, achieving a 16.5% accuracy on ARC-Easy and 4.5% on ARC-Hard tasks, marking a notable improvement over previous implementations. The investigation into LLMs further contributes to this discourse, showcasing their potential despite the inherent limitations of current models.

Findings on Model Complementarity

A particularly compelling aspect of this research is the discovery of the complementary nature of different models in tackling ARC tasks. The low overlap in solved tasks between models like DreamCoder and GPT-4 suggests that an ensemble approach, leveraging the diverse strengths of various algorithms, could dramatically improve overall performance.

Future Directions

The ongoing challenge ARC presents invites further exploration, with potential avenues including the extension of DreamCoder to incorporate more complex DSL features, the application of LLMs through advanced prompting techniques, and the exploration of Large Vision Models for visual reasoning. Additionally, the impending release of ARC2 promises to heighten the benchmark for broad generalization in AI, encouraging continued innovation in this field.

Conclusion

In conclusion, this paper not only propels our understanding of ML models' capabilities and limitations in abstract reasoning and generalization but also provides a robust framework for future research. By embracing the complexity of ARC tasks and exploring novel methodologies and ensemble approaches, this research moves us closer to achieving the goal of broad generalization in machines—a cornerstone in the journey toward advanced artificial intelligence.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (59)
  1. Spartan Books.
  2. Chollet F (2019). On the measure of intelligence. ArXiv: 1911.01547.
  3. Nature 596: 583–589.
  4. Nature 529: 484–489.
  5. Brandom R (2018). Self-driving cars are headed toward an ai roadblock. URL https://www.theverge.com/2018/7/3/17530232/self-driving-ai-winter-full-autonomy-waymo-tesla-uber.
  6. Azulay A, Weiss Y (2019) Why do deep convolutional networks generalize so poorly to small image transformations? J Mach Learn Res 20: 184:1–184:25.
  7. Abstraction and reasoning challenge. URL https://kaggle.com/competitions/abstraction-and-reasoning-challenge.
  8. Wind JS (2022). 1st place solution + code and official documentation. Kaggle Forums. URL https://www.kaggle.com/c/abstraction-and-reasoning-challenge/discussion/154597.
  9. Alford S (2021) A Neurosymbolic Approach to Abstraction and Reasoning. Master’s thesis, Massachusetts Institute of Technology.
  10. In: Larochelle H, Ranzato M, Hadsell R, Balcan M, Lin H, editors, 33rd Annual Conference on Neural Information Processing Systems (NeurIPS).
  11. OpenAI (2023). GPT-4 technical report. ArXiv:2303.08774.
  12. LLaMA: Open and efficient foundation language models. ArXiv:2302.13971.
  13. Basic Books New York.
  14. Foundalis H (2007). Index of bongard problems. URL https://www.foundalis.com/res/bps/bpidx.htm.
  15. Halme A (2020). Bongard solvers. URL https://notes.fringeling.com/BongardSolvers/.
  16. Kharagorgiev S (2018). Solving Bongard problems with deep learning. URL https://k10v.github.io/2018/02/25/Solving-Bongard-problems-with-deep-learning/.
  17. Solving Bongard problems with a visual language and pragmatic reasoning. ArXiv:1804.04452.
  18. Foundalis HE (2006) Phaeaco: A Cognitive Architecture Inspired by Bongard’s problems. Ph.D. thesis, Indiana University.
  19. In: Bengio S, Wallach HM, Larochelle H, Grauman K, Cesa-Bianchi N, et al., editors, 31st Annual Conference on Neural Information Processing Systems (NeurIPS) 2018. pp. 7549–7561.
  20. Legg S, Hutter M (2007). A collection of definitions of intelligence. ArXiv:0706.3639.
  21. Gershgorn D (2017). The data that changed the direction of AI research and possibly the world. URL https://qz.com/1034972/the-data-that-changed-the-direction-of-ai-research-and-possibly-the-world.
  22. Raven JC (1936) Mental tests used in genetic studies: The performance of related individuals on tests mainly educative and mainly reproductive. Master’s thesis, University of London.
  23. Graphs, constraints, and search for the abstraction and reasoning corpus. ArXiv:arXiv.2210.09880.
  24. Golubev V (2019). 3rd place[short preview+code]. Kaggle Forums. URL https://www.kaggle.com/competitions/abstraction-and-reasoning-challenge/discussion/154305.
  25. Golubev V (2019). 7 solved tasks via trees. Kaggle Kernels. URL https://www.kaggle.com/code/golubev/7-solved-tasks-via-trees/notebook.
  26. Technical report, Center for Brains, Minds and Machines (CBMM). URL https://dspace.mit.edu/handle/1721.1/128607.
  27. DreamCoder: Growing generalizable, interpretable knowledge with wake-sleep Bayesian program learning. ArXiv:2006.08381.
  28. Muggleton SH (1991) Inductive logic programming. New Generation Computing 8: 295–318.
  29. Machine Learning 111: 147–172.
  30. Neural Computation 7: 889–904.
  31. Ellis K (2022). Dreamcoder official code. GitHub. URL https://github.com/ellisk42/ec.
  32. Alford S (2021). bidir-synth: DreamCoder and bidirectional program synthesis on ARC. URL https://github.com/simonalford42/bidir-synth.git.
  33. IEEE Transactions on Pattern Analysis and Machine Intelligence 37: 1904–1916.
  34. In: Bengio Y, LeCun Y, editors, 2nd International Conference on Learning Representations, ICLR 2014, Banff, AB, Canada, April 14-16, 2014.
  35. In: IEEE Conference on Computer Vision and Pattern Recognition, CVPR 2015, Boston, MA, USA, June 7-12, 2015. IEEE Computer Society, pp. 3431–3440.
  36. Yu F, Koltun V (2016) Multi-scale context aggregation by dilated convolutions. In: Bengio Y, LeCun Y, editors, 4th International Conference on Learning Representations, ICLR 2016, San Juan, Puerto Rico, May 2-4, 2016.
  37. Kingma DP, Ba J (2015) Adam: A method for stochastic optimization. In: Bengio Y, LeCun Y, editors, 3rd International Conference on Learning Representations, ICLR 2015, San Diego, CA, USA, May 7-9, 2015. URL http://arxiv.org/abs/1412.6980.
  38. (2023). Python reference: Full grammar specification. URL https://docs.python.org/3/reference/grammar.html.
  39. Training language models to follow instructions with human feedback. ArXiv: 2203.02155.
  40. ArXiv: 2107.03374.
  41. Emergent Analogical Reasoning in Large Language Models. ArXiv:2212.09196.
  42. Mitchell M (2023). On analogy-making in large language models. URL https://aiguide.substack.com/p/on-analogy-making-in-large-language.
  43. Mitchell M (2020). Can GPT-3 make analogies? URL https://medium.com/@melaniemitchell.me/can-gpt-3-make-analogies-16436605c446.
  44. Mitchell M (1993) Analogy-Making as Perception. MIT Press.
  45. MIT Technology Review .
  46. GPTQ: Accurate post-training quantization for generative pre-trained transformers. ArXiv: 2210.17323.
  47. qwopqwop200 (2023). GPTQ for LLaMa. URL https://github.com/qwopqwop200/GPTQ-for-LLaMa.
  48. OpenAI (2023). TikToken. URL https://github.com/openai/tiktoken.
  49. OpenAI (2023). Introducing ChatGPT. URL https://openai.com/blog/chatgpt.
  50. ArXiv: 2203.15556.
  51. Sequential modeling enables scalable learning for large vision models. ArXiv:2312.00785.
  52. In: Conference on Computer Vision and Pattern Recognition, CVPR 2017, Youtube-8M Workshop.
  53. Vijaymeena M, Kavitha K (2016) A survey on similarity measures in text mining. Machine Learning and Applications: An International Journal 3: 19–28.
  54. In: The Tenth International Conference on Learning Representations, ICLR.
  55. In: Thirty-sixth Conference on Neural Information Processing Systems (NeurIPS).
  56. Lab42 (2023). ARCreate: Crowdsourcing ARC 2. URL https://arc-editor.lab42.global/.
  57. Comparing Humans, GPT-4, and GPT-4V on abstraction and reasoning tasks. ArXiv:2311.09247v2.
  58. Proceedings of the 43rd Annual Meeting of the Cognitive Science Society: Comparative Cognition: Animal Minds, CogSci 2021 : 2471-2477.
  59. Wind JS. DSL solution to the ARC challenge. URL https://github.com/top-quarks/ARC-solution.
User Edit Pencil Streamline Icon: https://streamlinehq.com
Authors (2)
  1. Mikel Bober-Irizar (10 papers)
  2. Soumya Banerjee (30 papers)
Citations (6)
Youtube Logo Streamline Icon: https://streamlinehq.com