Matching Markets Meet LLMs: Algorithmic Reasoning with Ranked Preferences
Hosseini, Hadi, Khanna, Samarth, Singh, Ronak
–arXiv.org Artificial Intelligence
The rise of Large Language Models (LLMs) has driven progress in reasoning tasks -- from program synthesis to scientific hypothesis generation -- yet their ability to handle ranked preferences and structured algorithms in combinatorial domains remains underexplored. We study matching markets, a core framework behind applications like resource allocation and ride-sharing, which require reconciling individual ranked preferences to ensure stable outcomes. We evaluate several state-of-the-art models on a hierarchy of preference-based reasoning tasks -- ranging from stable-matching generation to instability detection, instability resolution, and fine-grained preference queries -- to systematically expose their logical and algorithmic limitations in handling ranked inputs. Surprisingly, even top-performing models with advanced reasoning struggle to resolve instability in large markets, often failing to identify blocking pairs or execute algorithms iteratively. We further show that parameter-efficient fine-tuning (LoRA) significantly improves performance in small markets, but fails to bring about a similar improvement on large instances, suggesting the need for more sophisticated strategies to improve LLMs' reasoning with larger-context inputs.
arXiv.org Artificial Intelligence
Dec-9-2025
- Country:
- Asia > Thailand
- Europe
- Austria > Vienna (0.14)
- Netherlands > South Holland
- Rotterdam (0.04)
- North America
- Canada > British Columbia
- Vancouver (0.04)
- United States
- California > Santa Clara County
- San Jose (0.04)
- Connecticut > New Haven County
- New Haven (0.04)
- Hawaii (0.04)
- Louisiana > Orleans Parish
- New Orleans (0.04)
- California > Santa Clara County
- Canada > British Columbia
- Genre:
- Research Report
- Experimental Study (0.46)
- New Finding (0.67)
- Research Report
- Industry:
- Technology: