IDEAS home Printed from https://ideas.repec.org/p/arx/papers/2605.11645.html

GeomHerd: A Forward-looking Herding Quantification via Ricci Flow Geometry on Agent Interactive Simulations

Author

Listed:
  • Lake Yang
  • Junwei Su
  • Jingfeng Zeng
  • Wenhao Lu
  • Xingzhi Qian
  • Weitong Zhang
  • Chuan Wu
  • Dunhong Jin

Abstract

Herding -- where agents align their behaviors and act collectively -- is a central driver of market fragility and systemic risk. Existing approaches to quantify herding rely on price-correlation statistics, which inherently lag because they only detect coordination after it has already moved realised returns. We propose GeomHerd, a forward-looking geometric framework that bypasses this observability lag by quantifying coordination directly on upstream agent-interaction graphs. To generate these graphs, we treat a heterogeneous LLM-driven multi-agent simulator -- each financial trader instantiated by a persona-conditioned LLM call -- as a forecastable world, and evaluate the geometric pipeline on the Cividino--Sornette continuous-spin agent-based substrate as our headline financial testbed. By tracking the discrete Ollivier--Ricci curvature of these action graphs, GeomHerd captures the structural topology of emerging coordination. Theoretically, we establish a mean-field bridge mapping our graph-theoretic metric to CSAD, the classical macroscopic herding statistic, linking GeomHerd to downstream price-dispersion measurement. Empirically, GeomHerd anticipates herding long before aggregate market baselines: on the continuous-spin substrate, our primary detector fires a median of 272 steps before order-parameter onset; a contagion detector ($\beta_{-}$) recalls 65% of critical trajectories 318 steps early; and on co-firing trajectories the agent-graph signal precedes price-correlation-graph baselines by 40 steps. As a complementary indicator, the effective vocabulary of agent actions contracts during cascades. The geometric signature transfers out-of-domain to the Vicsek self-driven-particle model, and a curvature-conditioned forecasting head reduces cascade-window log-return MAE over detector-conditioned and price-only baselines.

Suggested Citation

  • Lake Yang & Junwei Su & Jingfeng Zeng & Wenhao Lu & Xingzhi Qian & Weitong Zhang & Chuan Wu & Dunhong Jin, 2026. "GeomHerd: A Forward-looking Herding Quantification via Ricci Flow Geometry on Agent Interactive Simulations," Papers 2605.11645, arXiv.org.
  • Handle: RePEc:arx:papers:2605.11645
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Chang, Eric C. & Cheng, Joseph W. & Khorana, Ajay, 2000. "An examination of herd behavior in equity markets: An international perspective," Journal of Banking & Finance, Elsevier, vol. 24(10), pages 1651-1679, October.
    2. Richard W. Sias, 2004. "Institutional Herding," The Review of Financial Studies, Society for Financial Studies, vol. 17(1), pages 165-206.
    3. Lakonishok, Josef & Shleifer, Andrei & Vishny, Robert W., 1992. "The impact of institutional trading on stock prices," Journal of Financial Economics, Elsevier, vol. 32(1), pages 23-43, August.
    4. Bhargavi Srinivasan, 2025. "Intrinsic Geometry of the Stock Market from Graph Ricci Flow," Papers 2510.15942, arXiv.org, revised Jan 2026.
    5. Russ Wermers, 1999. "Mutual Fund Herding and the Impact on Stock Prices," Journal of Finance, American Finance Association, vol. 54(2), pages 581-622, April.
    6. Frey, Stefan & Herbst, Patrick & Walter, Andreas, 2014. "Measuring mutual fund herding – A structural approach," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 32(C), pages 219-239.
    7. Hwang, Soosung & Salmon, Mark, 2004. "Market stress and herding," Journal of Empirical Finance, Elsevier, vol. 11(4), pages 585-616, September.
    8. Joaqu'in S'anchez Garc'ia & Sebastian Gherghe, 2024. "On the Ollivier-Ricci curvature as fragility indicator of the stock markets," Papers 2405.07134, arXiv.org.
    9. Bikhchandani, Sushil & Hirshleifer, David & Welch, Ivo, 1992. "A Theory of Fads, Fashion, Custom, and Cultural Change in Informational Cascades," Journal of Political Economy, University of Chicago Press, vol. 100(5), pages 992-1026, October.
    10. Avery, Christopher & Zemsky, Peter, 1998. "Multidimensional Uncertainty and Herd Behavior in Financial Markets," American Economic Review, American Economic Association, vol. 88(4), pages 724-748, September.
    11. Huang, Chuangxia & Cai, Yaqian & Yang, Xiaoguang & Deng, Yanchen & Yang, Xin, 2023. "Laplacian-energy-like measure: Does it improve the Cross-Sectional Absolute Deviation herding model?," Economic Modelling, Elsevier, vol. 127(C).
    12. Sushil Bikhchandani & Sunil Sharma, 2001. "Herd Behavior in Financial Markets," IMF Staff Papers, Palgrave Macmillan, vol. 47(3), pages 1-1.
    13. Xinyu Wang & Liang Zhao & Ning Zhang & Liu Feng & Haibo Lin, 2022. "Stability of China's Stock Market: Measure and Forecast by Ricci Curvature on Network," Papers 2204.06692, arXiv.org.
    14. Scharfstein, David S & Stein, Jeremy C, 1990. "Herd Behavior and Investment," American Economic Review, American Economic Association, vol. 80(3), pages 465-479, June.
    15. Abhijit V. Banerjee, 1992. "A Simple Model of Herd Behavior," The Quarterly Journal of Economics, President and Fellows of Harvard College, vol. 107(3), pages 797-817.
    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. Shi, Guiqiang & Shen, Dehua & Zhu, Zhaobo, 2024. "Herding towards carbon neutrality: The role of investor attention," International Review of Financial Analysis, Elsevier, vol. 91(C).
    2. Oi-Ping Chong & A.N. Bany-Ariffin & Annuar Md Nassir & Junaina Muhammad, 2019. "An Empirical Study of Herding Behaviour in China’s A-Share and B-Share Markets: Evidence of Bidirectional Herding Activities," Capital Markets Review, Malaysian Finance Association, vol. 27(2), pages 37-57.
    3. Pegah Dehghani & Ros Zam Zam Sapian, 2014. "Sectoral herding behavior in the aftermarket of Malaysian IPOs," Venture Capital, Taylor & Francis Journals, vol. 16(3), pages 227-246, July.
    4. Puput Tri Komalasari & Marwan Asri & Bernardinus M. Purwanto & Bowo Setiyono, 2022. "Herding behaviour in the capital market: What do we know and what is next?," Management Review Quarterly, Springer, vol. 72(3), pages 745-787, September.
    5. Guney, Yilmaz & Kallinterakis, Vasileios & Komba, Gabriel, 2017. "Herding in frontier markets: Evidence from African stock exchanges," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 47(C), pages 152-175.
    6. I. Koetsier & J.A. Bikker, 2017. "Herding behaviour of Dutch pension funds in sovereign bond investments," Working Papers 17-15, Utrecht School of Economics.
    7. Rahman, M. Arifur & Chowdhury, Shah Saeed Hassan & Shibley Sadique, M., 2015. "Herding where retail investors dominate trading: The case of Saudi Arabia," The Quarterly Review of Economics and Finance, Elsevier, vol. 57(C), pages 46-60.
    8. Wang, Xinru & Kim, Maria H. & Suardi, Sandy, 2022. "Herding and China's market-wide circuit breaker," Journal of Banking & Finance, Elsevier, vol. 141(C).
    9. Galariotis, Emilios C. & Rong, Wu & Spyrou, Spyros I., 2015. "Herding on fundamental information: A comparative study," Journal of Banking & Finance, Elsevier, vol. 50(C), pages 589-598.
    10. Li, Wei & Rhee, Ghon & Wang, Steven Shuye, 2017. "Differences in herding: Individual vs. institutional investors," Pacific-Basin Finance Journal, Elsevier, vol. 45(C), pages 174-185.
    11. Moatemri Ouarda & Abdelfatteh El Bouri & Olivero Bernard, 2013. "Herding Behavior under Markets Condition: Empirical Evidence on the European Financial Markets," International Journal of Economics and Financial Issues, Econjournals, vol. 3(1), pages 214-228.
    12. I. Koetsier & J.A. Bikker, 2017. "Herding behaviour of Dutch pension funds in sovereign bond investments," Working Papers 17-15, Utrecht School of Economics.
    13. Hsieh, Shu-Fan, 2013. "Individual and institutional herding and the impact on stock returns: Evidence from Taiwan stock market," International Review of Financial Analysis, Elsevier, vol. 29(C), pages 175-188.
    14. Hirshleifer, David & Teoh, Siew Hong, 2008. "Thought and Behavior Contagion in Capital Markets," MPRA Paper 9164, University Library of Munich, Germany.
    15. Santi, Caterina & Zwinkels, Remco C.J., 2023. "Exploring style herding by mutual funds," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 85(C).
    16. Ramzi Benkraiem & Mondher Bouattour & Emilios Galariotis & Anthony Miloudi, 2021. "Do investors in SMEs herd? Evidence from French and UK equity markets," Small Business Economics, Springer, vol. 56(4), pages 1619-1637, April.
    17. Kremer, Stephanie & Nautz, Dieter, 2013. "Causes and consequences of short-term institutional herding," Journal of Banking & Finance, Elsevier, vol. 37(5), pages 1676-1686.
    18. Fei, Tianlun & Liu, Xiaoquan, 2021. "Herding and market volatility," International Review of Financial Analysis, Elsevier, vol. 78(C).
    19. Cheng, Tingting & Xing, Shuo & Yao, Wenying, 2022. "An examination of herding behaviour of the Chinese mutual funds: A time-varying perspective," Pacific-Basin Finance Journal, Elsevier, vol. 74(C).
    20. Goodfellow, Christiane & Bohl, Martin T. & Gebka, Bartosz, 2009. "Together we invest? Individual and institutional investors' trading behaviour in Poland," International Review of Financial Analysis, Elsevier, vol. 18(4), pages 212-221, September.

    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:2605.11645. 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: https://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.