IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2506.04478.html
   My bibliography  Save this paper

Matching Markets Meet LLMs: Algorithmic Reasoning with Ranked Preferences

Author

Listed:
  • Hadi Hosseini
  • Samarth Khanna
  • Ronak Singh

Abstract

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.

Suggested Citation

  • Hadi Hosseini & Samarth Khanna & Ronak Singh, 2025. "Matching Markets Meet LLMs: Algorithmic Reasoning with Ranked Preferences," Papers 2506.04478, arXiv.org.
  • Handle: RePEc:arx:papers:2506.04478
    as

    Download full text from publisher

    File URL: http://arxiv.org/pdf/2506.04478
    File Function: Latest version
    Download Restriction: no
    ---><---

    References listed on IDEAS

    as
    1. Delorme, Maxence & García, Sergio & Gondzio, Jacek & Kalcsics, Jörg & Manlove, David & Pettersson, William, 2019. "Mathematical models for stable matching problems with ties and incomplete lists," European Journal of Operational Research, Elsevier, vol. 277(2), pages 426-441.
    2. Ilia Tsetlin & Michel Regenwetter & Bernard Grofman, 2003. "The impartial culture maximizes the probability of majority cycles," Social Choice and Welfare, Springer;The Society for Social Choice and Welfare, vol. 21(3), pages 387-398, December.
    Full references (including those not matched with items on IDEAS)

    Most related items

    These are the items that most often cite the same works as this one and are cited by the same works as this one.
    1. Aki Lehtinen, 2007. "The Borda rule is also intended for dishonest men," Public Choice, Springer, vol. 133(1), pages 73-90, October.
    2. James Green-Armytage & T. Tideman & Rafael Cosman, 2016. "Statistical evaluation of voting rules," Social Choice and Welfare, Springer;The Society for Social Choice and Welfare, vol. 46(1), pages 183-212, January.
    3. Ágoston, Kolos Csaba & Biró, Péter & Kováts, Endre & Jankó, Zsuzsanna, 2022. "College admissions with ties and common quotas: Integer programming approach," European Journal of Operational Research, Elsevier, vol. 299(2), pages 722-734.
    4. Lehtinen, Aki, 2006. "Signal extraction for simulated games with a large number of players," Computational Statistics & Data Analysis, Elsevier, vol. 50(9), pages 2495-2507, May.
    5. Ana Viana & Xenia Klimentova & Péter Biró & Flip Klijn, 2021. "Shapley-Scarf Housing Markets: Respecting Improvement, Integer Programming, and Kidney Exchange," Working Papers 1235, Barcelona School of Economics.
    6. Rubinstein, Ariel & Segal, Uzi, 2012. "On the likelihood of cyclic comparisons," Journal of Economic Theory, Elsevier, vol. 147(6), pages 2483-2491.
    7. Klimentova, Xenia & Biró, Péter & Viana, Ana & Costa, Virginia & Pedroso, João Pedro, 2023. "Novel integer programming models for the stable kidney exchange problem," European Journal of Operational Research, Elsevier, vol. 307(3), pages 1391-1407.
    8. Aki Lehtinen, 2007. "The Welfare Consequences of Strategic Voting in Two Commonly Used Parliamentary Agendas," Theory and Decision, Springer, vol. 63(1), pages 1-40, August.
    9. Chatterjee, Swarnendu & Storcken, Ton, 2020. "Frequency based analysis of collective aggregation rules," Journal of Mathematical Economics, Elsevier, vol. 87(C), pages 56-66.
    10. Kong, Qianqian & Peters, Hans, 2023. "Power indices for networks, with applications to matching markets," European Journal of Operational Research, Elsevier, vol. 306(1), pages 448-456.
    11. Núñez, Matías & Pivato, Marcus, 2019. "Truth-revealing voting rules for large populations," Games and Economic Behavior, Elsevier, vol. 113(C), pages 285-305.
    12. Sara Wolk & Jameson Quinn & Marcus Ogren, 2023. "STAR Voting, equality of voice, and voter satisfaction: considerations for voting method reform," Constitutional Political Economy, Springer, vol. 34(3), pages 310-334, September.
    13. Wesley H. Holliday & Eric Pacuit, 2020. "Split Cycle: A New Condorcet Consistent Voting Method Independent of Clones and Immune to Spoilers," Papers 2004.02350, arXiv.org, revised Nov 2023.
    14. Herings, P. Jean-Jacques & Mauleon, Ana & Vannetelbosch, Vincent, 2025. "Do stable outcomes survive in marriage problems with myopic and farsighted players?," European Journal of Operational Research, Elsevier, vol. 322(2), pages 713-724.
    15. Mor Nitzan & Shmuel Nitzan & Erel Segal-Halevi, 2018. "Flexible level-1 consensus ensuring stable social choice: analysis and algorithms," Social Choice and Welfare, Springer;The Society for Social Choice and Welfare, vol. 50(3), pages 457-479, March.
    16. Wesley H. Holliday & Eric Pacuit, 2023. "Split Cycle: a new Condorcet-consistent voting method independent of clones and immune to spoilers," Public Choice, Springer, vol. 197(1), pages 1-62, October.
    17. Lucky Cho & Thomas C. Sharkey, 2023. "Integer Programming Methods to Identify Nash Equilibrium Solutions for Platform-Based Scheduling Games," SN Operations Research Forum, Springer, vol. 4(4), pages 1-27, December.
    18. M. Braham & F. Steffen, 2007. "The Chairman’s Paradox Revisited," Social Choice and Welfare, Springer;The Society for Social Choice and Welfare, vol. 28(2), pages 231-253, February.
    19. Delorme, Maxence & García, Sergio & Gondzio, Jacek & Kalcsics, Joerg & Manlove, David & Pettersson, William, 2021. "Stability in the hospitals/residents problem with couples and ties: Mathematical models and computational studies," Omega, Elsevier, vol. 103(C).
    20. Ortona Guido, 2016. "A commonsense assessment of Arrow’s theorem," Journal of Heterodox Economics, Sciendo, vol. 3(1), pages 54-62, June.

    More about this item

    NEP fields

    This paper has been announced in the following NEP Reports:

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:arx:papers:2506.04478. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    If CitEc recognized a bibliographic reference but did not link an item in RePEc to it, you can help with this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: arXiv administrators (email available below). General contact details of provider: http://arxiv.org/ .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.