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

Zero-Copy Semantic Contagion: An In-Memory Streaming Architecture for Evolving Attention Graphs

Author

Listed:
  • Kabir Murjani

Abstract

Per-ticker forecasting models dominate financial time-series work yet remain blind to cross-company propagation: a foundry disruption in Taiwan does not register in a single-asset model until Apple's own price has already moved. To address this limitation, we introduce a heterogeneous Rust-Python streaming architecture that maps cross-company attention as a continuous-time graph driven directly from text. We show that on the ingestion side, a zero-copy Rust edge parses news records in $\sim$100 ns and scans the target equity universe in $\sim$1.2 $\mu$s. On the inference end, a multivariate Neural Hawkes Process featuring per-node continuous-time LSTM states and a bilinear latent projection propagates directed excitation, while an adaptive pruning rule bounds the computational cost of dynamic neighborhood updates. Combining these stages, we demonstrate an end-to-end processing latency of $\sim$13 ms per incoming news record on a single commodity CPU. Evaluated on a one-month temporal holdout of the FNSPID corpus (638 articles across 47 tickers), the system delivers a $1.70\times$ precision lift over random at the 90th-percentile next-day return threshold, and $3.36\times$ over a same-sector baseline. Crucially, removing the graph topology collapses precision to zero, confirming that the dynamic attention network is the sole driver of cross-company signal in this architecture.

Suggested Citation

  • Kabir Murjani, 2026. "Zero-Copy Semantic Contagion: An In-Memory Streaming Architecture for Evolving Attention Graphs," Papers 2606.05733, arXiv.org.
  • Handle: RePEc:arx:papers:2606.05733
    as

    Download full text from publisher

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

    References listed on IDEAS

    as
    1. Fama, Eugene F, 1970. "Efficient Capital Markets: A Review of Theory and Empirical Work," Journal of Finance, American Finance Association, vol. 25(2), pages 383-417, May.
    2. Kristin J. Forbes & Roberto Rigobon, 2002. "No Contagion, Only Interdependence: Measuring Stock Market Comovements," Journal of Finance, American Finance Association, vol. 57(5), pages 2223-2261, October.
    3. Lauren Cohen & Andrea Frazzini, 2008. "Economic Links and Predictable Returns," Journal of Finance, American Finance Association, vol. 63(4), pages 1977-2011, August.
    4. Diebold, Francis X. & Yılmaz, Kamil, 2014. "On the network topology of variance decompositions: Measuring the connectedness of financial firms," Journal of Econometrics, Elsevier, vol. 182(1), pages 119-134.
    5. Paul C. Tetlock, 2007. "Giving Content to Investor Sentiment: The Role of Media in the Stock Market," Journal of Finance, American Finance Association, vol. 62(3), pages 1139-1168, June.
    6. Menkveld, Albert J., 2013. "High frequency trading and the new market makers," Journal of Financial Markets, Elsevier, vol. 16(4), pages 712-740.
    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. Zhang, Yaojie & Tian, Linxing & Zhang, Zhikai, 2025. "Petroleum volatility spillover index and stock return predictability," Energy Economics, Elsevier, vol. 150(C).
    2. Akhtaruzzaman, Md & Boubaker, Sabri & Umar, Zaghum, 2022. "COVID–19 media coverage and ESG leader indices," Finance Research Letters, Elsevier, vol. 45(C).
    3. Yadav, Mahender & Danso, Albert & Adu-Ameyaw, Emmanuel & Yadav, Annu & Boateng, Agyenim & Saini, Mohit, 2026. "Market integration across green, energy and carbon markets in emerging economies," Energy Economics, Elsevier, vol. 153(C).
    4. Al-Nassar, Nassar S. & Assaf, Rima & Chaibi, Anis & Makram, Beljid, 2024. "The nexus between mineral, renewable commodities, and regional stock sectors during health and military crises," Resources Policy, Elsevier, vol. 96(C).
    5. N. L. Balasudarsun & Bikramaditya Ghosh & Sathish Mahendran, 2022. "Impact of Negative Tweets on Diverse Assets during Stressful Events: An Investigation through Time-Varying Connectedness," JRFM, MDPI, vol. 15(6), pages 1-12, June.
    6. Nicolás Magner Pulgar & Esteban José Antonio Terán Sánchez & Vicente Alfonso Guzmán Muñoz, 2022. "Stock Market Synchronization and Stock Volatility: The Case of an Emerging Market," Remef - Revista Mexicana de Economía y Finanzas Nueva Época REMEF (The Mexican Journal of Economics and Finance), Instituto Mexicano de Ejecutivos de Finanzas, IMEF, vol. 17(3), pages 1-22, Julio - S.
    7. Raddant, Matthias & Kenett, Dror Y., 2021. "Interconnectedness in the global financial market," Journal of International Money and Finance, Elsevier, vol. 110(C).
    8. Wang, Gang-Jin & Xiong, Lu & Zhu, You & Xie, Chi & Foglia, Matteo, 2022. "Multilayer network analysis of investor sentiment and stock returns," Research in International Business and Finance, Elsevier, vol. 62(C).
    9. Zhengning Pu & Xi Yuan & Yongyi Zhang, 2026. "Sentiment and stock price volatility: a multilayer heterogeneous graph network analysis of the new energy vehicle market," Humanities and Social Sciences Communications, Palgrave Macmillan, vol. 13(1), pages 1-15, December.
    10. Erdinc Akyildirim & Ahmet Faruk Aysan & Oguzhan Cepni & Özge Serbest, 2024. "Sentiment matters: the effect of news-media on spillovers among cryptocurrency returns," The European Journal of Finance, Taylor & Francis Journals, vol. 30(14), pages 1577-1613, September.
    11. Shi, Huai-Long & Zhou, Wei-Xing, 2022. "Factor volatility spillover and its implications on factor premia," Journal of International Financial Markets, Institutions and Money, Elsevier, vol. 80(C).
    12. Yousaf, Imran & Youssef, Manel & Goodell, John W., 2022. "Quantile connectedness between sentiment and financial markets: Evidence from the S&P 500 twitter sentiment index," International Review of Financial Analysis, Elsevier, vol. 83(C).
    13. Gustavo Peralta, 2016. "The Nature of Volatility Spillovers across the International Capital Markets," CNMV Working Papers CNMV Working Papers no. 6, CNMV- Spanish Securities Markets Commission - Research and Statistics Department.
    14. Gao, Daquan & Li, Songsong & Tian, Zhihong, 2025. "Geopolitical risk, energy market volatility, and corporate energy dependence: The role of green Total factor productivity and decentralized top management team network," Energy Economics, Elsevier, vol. 148(C).
    15. Barunik, Jozef & Krehlik, Tomas, 2016. "Measuring the frequency dynamics of financial and macroeconomic connectedness," FinMaP-Working Papers 54, Collaborative EU Project FinMaP - Financial Distortions and Macroeconomic Performance: Expectations, Constraints and Interaction of Agents.
    16. Nguyen, Huan Huu & Ngo, Vu Minh & Pham, Luan Minh & Van Nguyen, Phuc, 2025. "Investor sentiment and market returns: A multi-horizon analysis," Research in International Business and Finance, Elsevier, vol. 74(C).
    17. Zhang, Hua & Chen, Jinyu & Shao, Liuguo, 2021. "Dynamic spillovers between energy and stock markets and their implications in the context of COVID-19," International Review of Financial Analysis, Elsevier, vol. 77(C).
    18. Vo, Duc Hong & Tran, Minh Phuoc-Bao, 2024. "Volatility spillovers between energy and agriculture markets during the ongoing food & energy crisis: Does uncertainty from the Russo-Ukrainian conflict matter?," Technological Forecasting and Social Change, Elsevier, vol. 208(C).
    19. Paulo Ferreira & Éder J.A.L. Pereira & Hernane B.B. Pereira, 2020. "From Big Data to Econophysics and Its Use to Explain Complex Phenomena," JRFM, MDPI, vol. 13(7), pages 1-10, July.
    20. Yuni, Denis N. & Mzoughi, Hela & Abid, Ilyes & Urom, Christian, 2025. "Systemic financial stress and the returns and volatility of ESG-themed assets," International Economics, Elsevier, vol. 184(C).

    More about this item

    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:2606.05733. 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.