Fengji Zhang

City University of Hong Kong
1 previous affiliation
21Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Fengji Zhang focuses on code generation, large language models, and multimodal reasoning. His trajectory spans from repository-level code completion and automated testing to the evaluation of visual understanding in coding tasks. Most recently, his work addresses ambiguity in open-domain question answering and the personalization of vision-language models.

Research Trajectory

Zhang’s early research concentrated on applying machine learning to software engineering tasks. In 2022, he explored bi-modal information extraction in Improving Stack Overflow question title generation with copying enhanced CodeBERT model and bi-modal information. As large language models became central to code intelligence, his focus shifted toward improving their contextual awareness and reliability. He introduced RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generation in 2023, establishing a framework that combines a similarity-based retriever with a pre-trained code language model to utilize scattered repository-level information effectively.

During this period, Zhang also contributed to several collaborative efforts advancing specialized language models for software development. He helped develop SoTaNa: The Open-Source Software Development Assistant, which utilized parameter-efficient fine-tuning on instruction data to improve code summarization and generation. To address the challenge of evaluating generated code, he co-authored CodeT: Code Generation with Generated Tests. This work leveraged pre-trained models to automatically generate test cases, advancing the research direction of The Selection Bottleneck in Multi Path Reasoning and contributing to the broader area of Execution-Based Self-Consistency for Code Generation. Concurrently, he participated in a comprehensive evaluation of the field in Large Language Models Meet NL2Code: A Survey and collaborated on Uncovering and Quantifying Social Biases in Code Generation, which demonstrated that social biases in models like Codex and CodeGen scale inversely with model size.

In 2024, Zhang expanded his methodological scope. He conducted a systematic review of data preparation processes in Data preparation for Deep Learning based Code Smell Detection: A systematic literature review. More significantly, he began integrating visual perception into code evaluation, leading the development of HumanEval-V: Evaluating Visual Understanding and Reasoning Abilities of Large Multimodal Models Through Coding Tasks. This lightweight benchmark was designed to rigorously assess how well large multimodal models handle complex visual reasoning within programming contexts.

His recent work demonstrates a dual interest in autonomous agent evaluation and the refinement of multimodal systems. In 2025, he directed research on R2ComSync: Improving Code-Comment Synchronization with In-Context Learning and Reranking, a framework utilizing hybrid retrieval and multi-turn re-ranking to automate documentation updates. He also oversaw the creation of Online-PVLM: Advancing Personalized VLMs with Online Concept Learning, which enables vision-language models to learn user-specific concepts at test time without additional training. Additionally, he participated in Understanding DeepResearch via Reports, a project that established a framework for evaluating long-form, autonomous research reports, contributing to the research area of Multimodal Reasoning in Scientific Language Models.

Most recently, Zhang designed A$^2$Search: Ambiguity-Aware Question Answering with Reinforcement Learning (2026). This end-to-end reinforcement learning framework addresses ambiguity in open-domain question answering by discovering multiple valid answers and optimizing a set-based reward function, allowing smaller models to perform complex, multi-hop reasoning tasks effectively.

Current Directions

The most recent papers in the evidence indicate a focus on complex reasoning and personalization in both language and multimodal models. Zhang is actively investigating reinforcement learning frameworks to handle ambiguity in open-domain question answering, seeking to improve the reasoning capabilities of smaller models. Concurrently, his work addresses the personalization of vision-language models, developing methods for online concept learning that allow systems to adapt to user-specific visual inputs efficiently at test time. He is also engaged in the evaluation of autonomous agents, designing comprehensive benchmarks to assess the quality, factuality, and redundancy of long-form research generated by frontier models.

Profile updated

See something wrong? Report a mistake