Zehao Lin
Current Organizations / Institutes
The organizations/institutes from the scholar's latest article
Research Subjects
Zehao Lin has a total of 31 co-authors. Here are the top co-authors by number of shared publications:
Guodun Li
College of Computer Science and Technology, Zhejiang University, Hangzhou, Zhejiang, China
2 shared publications- Ang Li
Zhejiang University, Hangzhou, Zhejiang, China
1 shared publication - Beibei Li
College of Computer Science, Chongqing University, Chongqing, China
1 shared publication - Beihong Jin
Institute of Software, Chinese Academy of Sciences, Beijing, China
1 shared publication - Bo Tang
AIDS and SIAR, University of Science and Technology of China, Hefei, Anhui, China
1 shared publication - Chenyang Xi
MemTensor, Shanghai, China
1 shared publication
Latest Publications
- Open Access
- 18 November 2026
- Published by Elsevier in SSRN Electronic Journal
Governing Long-Term Memory in Enterprise LLM Agents: Decision Reuse and Authorization Recovery
An access decision can cease to apply while its explanation continues to govern an agent's work. We examine this problem in the management of long-term memory for enterprise LLM agents. Drawing on organizational memory, coordination, and data governance, we distinguish the validity of retained facts, the current applicability of access decisions, and the recovery of dependent work. Three computational studies trace these responsibilities through IT-service workflows. Study 1 compares sharing and source maintenance across 1,152 assignments and locates a purpose-transition gap in cross-task working context. Study 2 evaluates authorization and provenance filtering across 768 assignments: enforcing the input boundary can also remove refusal explanations needed by subsequent roles. Study 3 evaluates reusable authority-issued denial receipts across four models and 4,320 assignments. Receipts reduce rejected source queries by 83.5%–86.9%, but aggregate completion conceals concentrated recovery failures. Terra and Gemini complete all authorization-restoration assignments; DeepSeek and Kimi sometimes refuse despite the withdrawal of invalid structured receipts. For Kimi, overall effective completion rises from 268 to 279 of 288 assignments, while restoration-window completion falls from 38 to 32 of 38. Retained explanations preserve the earlier denial without recording its decision dependency; one delivery role even rejects newly authorized evidence obtained upstream. The findings identify dependency coverage as a management requirement for decision reuse. Enterprises need ownership of a decision's current applicability, reassessment of its derived explanations, and transition-specific acceptance tests that connect compliant delivery to acquisition, inference, and maintenance work.
- 18 November 2026
- Published by Elsevier in SSRN Electronic Journal
Open AccessGoverning Long-Term Memory in Enterprise LLM Agents: Decision Reuse and Authorization Recovery
An access decision can cease to apply while its explanation continues to govern an agent's work. We examine this problem in the management of long-term memory for enterprise LLM agents. Drawing on organizational memory, coordination, and data governance, we distinguish the validity of retained facts, the current applicability of access decisions, and the recovery of dependent work. Three computational studies trace these responsibilities through IT-service workflows. Study 1 compares sharing and source maintenance across 1,152 assignments and locates a purpose-transition gap in cross-task working context. Study 2 evaluates authorization and provenance filtering across 768 assignments: enforcing the input boundary can also remove refusal explanations needed by subsequent roles. Study 3 evaluates reusable authority-issued denial receipts across four models and 4,320 assignments. Receipts reduce rejected source queries by 83.5%–86.9%, but aggregate completion conceals concentrated recovery failures. Terra and Gemini complete all authorization-restoration assignments; DeepSeek and Kimi sometimes refuse despite the withdrawal of invalid structured receipts. For Kimi, overall effective completion rises from 268 to 279 of 288 assignments, while restoration-window completion falls from 38 to 32 of 38. Retained explanations preserve the earlier denial without recording its decision dependency; one delivery role even rejects newly authorized evidence obtained upstream. The findings identify dependency coverage as a management requirement for decision reuse. Enterprises need ownership of a decision's current applicability, reassessment of its derived explanations, and transition-specific acceptance tests that connect compliant delivery to acquisition, inference, and maintenance work.
- Open Access
- 8 August 2026
- Published by Association for Computing Machinery (ACM)
- p. 8041-8052
GraTAG: Production AI Search via Graph-Based Query Decomposition and Triplet Aligned Generation with Rich Multimodal Representations
- 8 August 2026
- Published by Association for Computing Machinery (ACM)
- p. 8041-8052
Open AccessGraTAG: Production AI Search via Graph-Based Query Decomposition and Triplet Aligned Generation with Rich Multimodal Representations
- Open Access
- 9 April 2022
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 31 (3) , 1-44
XCode : Towards Cross-Language Code Representation with Large-Scale Pre-Training
Source code representation learning is the basis of applying artificial intelligence to many software engineering tasks such as code clone detection, algorithm classification, and code summarization. Recently, many works have tried to improve the performance of source code representation from various perspectives, e.g., introducing the structural information of programs into latent representation. However, when dealing with rapidly expanded unlabeled cross-language source code datasets from the Internet, there are still two issues. Firstly, deep learning models for many code-specific tasks still suffer from the lack of high-quality labels. Secondly, the structural differences among programming languages make it more difficult to process multiple languages in a single neural architecture. To address these issues, in this article, we propose a novel Cross -language Code representation with a large-scale pre-training ( XCode ) method. Concretely, we propose to use several abstract syntax trees and ELMo-enhanced variational autoencoders to obtain multiple pre-trained source code language models trained on about 1.5 million code snippets. To fully utilize the knowledge across programming languages, we further propose a Shared Encoder-Decoder (SED) architecture which uses the multi-teacher single-student method to transfer knowledge from the aforementioned pre-trained models to the distilled SED. The pre-trained models and SED will cooperate to better represent the source code. For evaluation, we examine our approach on three typical downstream cross-language tasks, i.e., source code translation, code clone detection, and code-to-code search, on a real-world dataset composed of programming exercises with multiple solutions. Experimental results demonstrate the effectiveness of our proposed approach on cross-language code representations. Meanwhile, our approach performs significantly better than several code representation baselines on different downstream tasks in terms of multiple automatic evaluation metrics.
- 9 April 2022
- Published by Association for Computing Machinery (ACM) in ACM Transactions on Software Engineering and Methodology
- Vol. 31 (3) , 1-44
Open AccessXCode : Towards Cross-Language Code Representation with Large-Scale Pre-Training
Source code representation learning is the basis of applying artificial intelligence to many software engineering tasks such as code clone detection, algorithm classification, and code summarization. Recently, many works have tried to improve the performance of source code representation from various perspectives, e.g., introducing the structural information of programs into latent representation. However, when dealing with rapidly expanded unlabeled cross-language source code datasets from the Internet, there are still two issues. Firstly, deep learning models for many code-specific tasks still suffer from the lack of high-quality labels. Secondly, the structural differences among programming languages make it more difficult to process multiple languages in a single neural architecture. To address these issues, in this article, we propose a novel Cross -language Code representation with a large-scale pre-training ( XCode ) method. Concretely, we propose to use several abstract syntax trees and ELMo-enhanced variational autoencoders to obtain multiple pre-trained source code language models trained on about 1.5 million code snippets. To fully utilize the knowledge across programming languages, we further propose a Shared Encoder-Decoder (SED) architecture which uses the multi-teacher single-student method to transfer knowledge from the aforementioned pre-trained models to the distilled SED. The pre-trained models and SED will cooperate to better represent the source code. For evaluation, we examine our approach on three typical downstream cross-language tasks, i.e., source code translation, code clone detection, and code-to-code search, on a real-world dataset composed of programming exercises with multiple solutions. Experimental results demonstrate the effectiveness of our proposed approach on cross-language code representations. Meanwhile, our approach performs significantly better than several code representation baselines on different downstream tasks in terms of multiple automatic evaluation metrics.
- 3 September 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE/ACM Transactions on Audio, Speech, and Language Processing
- Vol. 29 (23299290) , 3012-3024
Predict-Then-Decide: A Predictive Approach for Wait or Answer Task in Dialogue Systems
Different people have different habits of describing their intents in conversations. Some people tend to deliberate their intents in several successive utterances, i.e., they use several consistent messages for readability instead of a long sentence to express their question. This creates a predicament faced by the application of dialogue systems, especially in real-world industry scenarios, in which the dialogue system is unsure whether it should answer the query of user immediately or wait for further supplementary input. Motivated by such an interesting predicament, we define a novel Wait-or-Answer task for dialogue systems. We shed light on a new research topic about how the dialogue system can be more intelligent to behave in this Wait-or-Answer quandary. Further, we propose a predictive approach named Predict-then-Decide (PTD) to tackle this Wait-or-Answer task. More specifically, we take advantage of a decision model to help the dialogue system decide whether to wait or answer. The decision of decision model is made with the assistance of two ancillary prediction models: a user prediction and an agent prediction. The user prediction model tries to predict what the user would supplement and uses its prediction to persuade the decision model that the user has some information to add, so the dialogue system should wait. The agent prediction model tries to predict the answer of the dialogue system and convince the decision model that it is a superior choice to answer the query of user immediately since the input of user has come to an end. We conduct our experiments on two real-life scenarios and three public datasets. Experimental results on five datasets show our proposed PTD approach significantly outperforms the existing models in solving this Wait-or-Answer problem.
- 3 September 2021
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE/ACM Transactions on Audio, Speech, and Language Processing
- Vol. 29 (23299290) , 3012-3024
Predict-Then-Decide: A Predictive Approach for Wait or Answer Task in Dialogue Systems
Different people have different habits of describing their intents in conversations. Some people tend to deliberate their intents in several successive utterances, i.e., they use several consistent messages for readability instead of a long sentence to express their question. This creates a predicament faced by the application of dialogue systems, especially in real-world industry scenarios, in which the dialogue system is unsure whether it should answer the query of user immediately or wait for further supplementary input. Motivated by such an interesting predicament, we define a novel Wait-or-Answer task for dialogue systems. We shed light on a new research topic about how the dialogue system can be more intelligent to behave in this Wait-or-Answer quandary. Further, we propose a predictive approach named Predict-then-Decide (PTD) to tackle this Wait-or-Answer task. More specifically, we take advantage of a decision model to help the dialogue system decide whether to wait or answer. The decision of decision model is made with the assistance of two ancillary prediction models: a user prediction and an agent prediction. The user prediction model tries to predict what the user would supplement and uses its prediction to persuade the decision model that the user has some information to add, so the dialogue system should wait. The agent prediction model tries to predict the answer of the dialogue system and convince the decision model that it is a superior choice to answer the query of user immediately since the input of user has come to an end. We conduct our experiments on two real-life scenarios and three public datasets. Experimental results on five datasets show our proposed PTD approach significantly outperforms the existing models in solving this Wait-or-Answer problem.