Ziyi Ni

1 previous affiliation
13Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Ziyi Ni focuses on the development of autonomous language model agents, software engineering automation, and the optimization of large language models for safety and efficiency. His trajectory spans from energy-efficient spiking neural networks and training dynamics to the design of sophisticated multi-agent frameworks capable of navigating complex code repositories and specialized medical domains. Recent work emphasizes self-evolving reasoning and the economic evaluation of autonomous technical agents.

Research Trajectory

Early work explored foundational model efficiency and training dynamics. Contributing to the area of Energy Efficient Computing with Spiking Neural Networks, he participated in the development of SpikeLM: Towards General Spike-Driven Language Modeling via Elastic Bi-Spiking Mechanisms. This research introduced an elastic bi-spiking mechanism that evolves beyond simple binary spikes to a ternary, amplitude-scaled representation, enabling spiking neural networks to handle complex language tasks while maintaining the energy efficiency of addition-based computation. Concurrently, he investigated how the order of training data impacts model performance, addressing the broader area of Temporal Bias in Large Language Models. In Mitigating Training Imbalance in LLM Fine-Tuning via Selective Parameter Merging, he observed that samples seen early in an epoch result in higher final losses, and developed a selective parameter merging technique that fine-tunes multiple models on varying data orders to eliminate this imbalance without increasing inference costs.

The trajectory subsequently shifted toward the design and evaluation of autonomous agents, particularly for software engineering. To rigorously evaluate these systems, he introduced GitTaskBench: A Benchmark for Code Agents Solving Real-World Tasks Through Code Repository Leveraging. This benchmark advanced the field of Autonomous Environment Orchestration for LLM Agents by testing how well agents can autonomously navigate full-scale GitHub repositories across dozens of multimodal tasks. It also proposed an "alpha metric" to quantify performance against token costs and human developer salaries, contributing to discussions around The Economic Shift Toward Autonomous Technical Agents.

Building on this focus, he developed novel frameworks for code generation and repository interaction. Tree-of-Code: A Self-Growing Tree Framework for End-to-End Code Generation and Execution in Complex Tasks replaced traditional step-by-step tool calling with an end-to-end approach, treating executable programs as nodes in a search tree guided entirely by execution success as the supervision signal. In parallel, he contributed to RepoMaster: Autonomous Exploration and Understanding of GitHub Repositories for Complex Task Solving, an agent framework that leverages structural repository analysis—such as dependency graphs and code trees—to reuse existing code rather than generating it from scratch. This work sits at the intersection of Cross-Application Orchestration for LLM Agents and the broader direction of Language Agnostic Representations for Cross Language Portability.

His research also addresses the underlying reasoning capabilities and safety of language models. He participated in the development of SE-Agent: Self-Evolution Trajectory Optimization in Multi-Step Reasoning with LLM-Based Agents, which applies a genetic algorithm approach to iteratively revise and recombine multi-step problem-solving paths, treating reasoning trajectories like genotypes to help agents overcome homogeneity. On the security front, he proposed ShieldLearner: A New Paradigm for Jailbreak Attack Defense in LLMs, a parameter-free prompt-defense system that mimics human dual-process cognition. By autonomously distilling attack signatures into a pattern atlas and synthesizing abstract defense heuristics, the system protects models from jailbreak attempts with low computational overhead.

Most recently, this expertise in multi-agent orchestration has been applied to specialized clinical domains. In Multi-Agent Consensus Matrix Modeling for Medical Decision-Making: A Role-Specialized LLM Framework for Oncology MDT Consultations, he and his collaborators designed a system deploying specialized language model agents—simulating roles such as oncologists, radiologists, nurses, and patient advocates—to conduct multidisciplinary team consultations. The framework utilizes a mathematically grounded consensus matrix, incorporating Kendall’s coefficient of concordance, to objectively assess agreement among the agents and ensure decision traceability.

Current Directions

Recent work investigates the deployment of multi-agent systems in highly specialized, high-stakes domains. A primary focus is the orchestration of role-specialized language models to simulate complex collaborative processes, such as multidisciplinary medical consultations, using mathematically grounded consensus mechanisms to ensure decision traceability and objective agreement.

Alongside clinical applications, ongoing research addresses the autonomy and reasoning capabilities of technical agents. This includes developing self-evolving frameworks that optimize multi-step reasoning trajectories and building agents capable of structural repository analysis. By treating code generation as an execution-guided search problem and enabling agents to autonomously navigate and adapt existing software environments, this work aims to improve the reliability and economic viability of autonomous software engineering.

Profile updated

See something wrong? Report a mistake