Ruiying Ma
· 5 previous affiliations
- Current
- Doctor of Philosophy - PhD · 2025
- Visiting Student Researcher · 2024
- PhD student · From 2025
- Tsinghua University2021–2025
- Undergrad student · 2021–2025
- Microsoft Research Asia (China)2024–2025
- Research Internship · 2024–2025
- Microsoft (United States)2024–2025
- Intern · 2024–2025
- Intern · 2024
Research Overview
Ruiying Ma focuses on document analytics, retrieval-augmented generation, and the application of large language models to system algorithm design. Early work explores structured approaches to querying templatized document collections to improve accuracy and reduce computational costs. More recently, the focus has shifted toward leveraging creative ideation frameworks to enable language models to discover novel, high-performance algorithms.
Research Trajectory
Ruiying Ma's research trajectory begins with a focus on improving the efficiency and accuracy of information extraction from structured and semi-structured text. A major challenge in document analytics is that while large language models (LLMs) excel at general text comprehension, they often struggle with precise analytical queries over large collections of documents. Furthermore, standard retrieval-augmented generation (RAG) techniques can exacerbate accuracy degradation while incurring high computational costs.
To address these limitations, Ma collaborated on the development of ZenDB, a document analytics system designed to process collections of documents that share a common semantic structure, such as business reports or scientific papers. This work was initially detailed in Towards Accurate and Efficient Document Analytics with Large Language Models. By representing documents as Semantic Hierarchical Trees (SHTs), the system leverages the inherent "templatized" nature of these texts to facilitate ad-hoc SQL queries. This methodology intersects with several broader research areas, including the research direction of Global Understanding in Retrieval Augmented Generation and the area of Hierarchical Recursive Summarization for Long Context. Furthermore, by grounding the LLM's outputs in a strict hierarchical representation, the approach contributes to the broader area of Traceable Synthesis for Verifiable Generative AI and supports work in Relational Reasoning Across Multiple Tabular Data Sources. Ma continued to advance this line of research with the subsequent publication Querying Templatized Document Collections with Large Language Models, which further formalized the ZenDB system's capacity to extract analytical value from unstructured document collections while significantly reducing operational costs compared to standard LLM-only approaches.
Following this work in document analytics, Ma's research shifted toward the intersection of generative AI and system algorithm design. A fundamental limitation of using LLMs to generate algorithms is "availability bias"—the tendency of models to output well-known, existing heuristics (such as Least Recently Used or Least Frequently Used cache replacement policies) rather than discovering genuinely novel solutions. Ma addressed this problem by introducing a novel framework in MetaMuse: Algorithm Generation via Creative Ideation. This research utilizes random dictionary words as creative "stimuli" alongside a structured "waypoint reasoning" process to force the language model out of its standard predictive patterns. The resulting framework successfully discovered novel, high-performance algorithms for classic computer science problems like cache replacement and bin packing, outperforming both human-crafted designs and prior LLM-based generation methods. This work also touches upon the research direction of Efficient Benchmarking for Large Language Models by establishing rigorous evaluation paradigms for LLM-generated code and system heuristics.
Current Directions
The most recent papers in the evidence indicate a strong focus on utilizing large language models for automated algorithm discovery and system optimization. Ma is currently investigating methods to overcome the inherent biases of generative models, specifically exploring how structured creative ideation techniques can prompt LLMs to design novel heuristics for resource management problems. This involves developing new reasoning frameworks—such as waypoint reasoning—that guide models toward high-performance, non-obvious algorithmic solutions rather than simply retrieving memorized patterns from their training data.
Profile updated
Loading new papers…
Other researchers whose papers cluster into the same research directions — a proxy for overlapping technical interests and shared intellectual neighborhoods.
See something wrong? Report a mistake