Hui Sun
· 2 previous affiliations
- Nanjing UniversitySince 2019
- PhD student · Since 2023
- MS student · 2019–2022
- Jilin University2015–2019
- Undergrad student · 2015–2019
1 other author named Hui Sun: Hui Sun (1 paper)
Research Overview
Hui Sun focuses on machine learning and large language models (LLMs), with a particular emphasis on transfer learning, code intelligence, and neuro-symbolic reasoning. Sun’s research addresses the challenges of adapting models to new domains, integrating logical constraints with neural architectures, and optimizing the performance of LLMs in programming-related tasks. This work spans theoretical developments in unsupervised domain adaptation and practical applications in automated program translation and code generation.
Research Trajectory
Sun’s research trajectory began with a focus on transfer learning and unsupervised domain adaptation (UDA) in 2023. This early work addressed the fundamental problem of distribution mismatch, where models trained on label-rich source domains fail to generalize to unlabeled target domains. Sun investigated methods to balance feature discriminability and transferability, ensuring that learned representations are both useful for classification and consistent across different data distributions. During this period, Sun also participated in research on recommender systems, contributing to the development of Clustered Embedding Learning for Recommender Systems, which optimized memory usage and accuracy for cold-start users in industrial environments.
In 2024, Sun’s focus expanded to include neuro-symbolic learning and abductive reasoning. This shift addressed the limitations of pure deep learning models in tasks requiring logical consistency. By exploring Reasoning Shortcuts in Neuro-Symbolic Learning, Sun contributed to frameworks that bridge neural perception with symbolic logic, specifically focusing on how models can handle ambiguity when multiple logical interpretations of neural outputs are possible.
From late 2024 through 2026, Sun’s research has increasingly centered on the capabilities and optimization of LLMs for software engineering. This current phase involves investigating how structural knowledge of programming languages can be leveraged to improve code translation and generation. Sun has explored training-free methods for injecting syntactic information into LLMs and has conducted analytical work on the reasoning processes of these models, specifically examining the role of Chain-of-Thought (CoT) prompting in programming contexts.
Current Directions
Sun’s current research is primarily focused on three areas: code intelligence, the mechanics of LLM reasoning, and advanced domain adaptation. In the domain of code intelligence, Sun is investigating how to improve the accuracy of multilingual program translation by moving beyond pairwise translation paradigms toward unified models that capture semantic commonalities across multiple programming languages.
In the area of LLM reasoning, Sun is exploring the internal logic of code generation. This includes questioning traditional prompting strategies and investigating whether LLMs benefit more from generating code before providing natural language explanations, rather than the reverse. Additionally, Sun is examining data selection strategies for fine-tuning LLMs, with recent findings suggesting that simple random sampling can be as effective as complex diversity-maximizing algorithms in preserving the implicit knowledge consensus required for algorithmic tasks.
Sun also continues to refine transfer learning techniques. Recent work involves mitigating "negative transfer"—where the transfer of knowledge from a source domain actually degrades performance on a target domain—by disentangling causal semantic features from non-causal environmental ones.
Representative Work
Domain Adaptation and Transfer Learning
Sun’s early contributions to UDA focused on the inherent tension between making features discriminative for the source domain and making them transferable to the target domain. In Cooperative and Adversarial Learning: Co-enhancing Discriminability and Transferability in Domain Adaptation, Sun proposed the CALE framework. This approach moves away from the standard practice of treating discriminative and transfer modules as separate entities. Instead, it utilizes a cooperative and adversarial learning mechanism where the two modules inform each other, leading to features that better capture the underlying structure of the target domain while maintaining high classification accuracy.
Further addressing the limitations of source-dominated feature extraction, Sun developed a method for Enhancing unsupervised domain adaptation by exploiting the conceptual consistency of multiple self-supervised tasks. This work argues that relying solely on source supervision causes the model to miss target-intrinsic patterns. By introducing multiple auxiliary self-supervised tasks that do not depend on source labels, Sun demonstrated that models can better understand instance-level concepts in the target domain, significantly improving performance on complex adaptation tasks.
Sun also addressed specialized scenarios in semi-supervised learning, such as Semi-supervised Learning with Support Isolation by Small-Paced Self-Training. This research investigated cases where labeled and unlabeled data distributions are isolated due to filtering mechanisms (e.g., ethical or economic constraints on labeling). Sun proposed a "small-paced" self-training approach to bridge these isolated supports, preventing the distribution mismatch that typically causes standard semi-supervised methods to fail.
Neuro-Symbolic and Abductive Learning
In the transition toward reasoning-heavy architectures, Sun contributed to the development of Ambiguity-Aware Abductive Learning. Traditional abductive learning often struggles in early training stages when neural perception is weak, leading the model to commit to incorrect logical "best guesses" that create a vicious cycle of poor learning. Sun’s work introduced a framework that treats all valid logical candidates probabilistically. By embracing this ambiguity, the model avoids sub-optimal convergence and maintains a more robust connection between perceptual data and symbolic rules.
Code Intelligence and LLM Optimization
Sun’s recent work in code intelligence focuses on the structural and semantic challenges of program translation. In A Joint Learning Model with Variational Interaction for Multilingual Program Translation, Sun addressed the scarcity of parallel data for many language pairs. The proposed model uses a variational interaction mechanism to jointly learn translations across multiple languages, facilitating better semantic alignment and reducing the impact of distribution shifts between different programming environments.
To improve the performance of LLMs without the need for expensive fine-tuning, Sun developed Post-Incorporating Code Structural Knowledge into LLMs via In-Context Learning for Code Translation. This method, known as CAST (Coverage of Abstract Syntax Tree), treats the selection of in-context examples as a submodular maximization problem. By ensuring that the examples provided to the LLM cover a diverse range of syntactic structures, Sun demonstrated that even large-scale models can achieve significant gains in translation accuracy by better understanding the structural constraints of the target language.
Sun also participated in research re-evaluating the Chain-of-Thought (CoT) paradigm for code. In Revisiting Chain-of-Thought in Code Generation: Do Language Models Need to Learn Reasoning before Coding?, the study found that for programming tasks, the traditional "reason-then-code" sequence is less effective than a "code-then-explain" approach. This suggests that for LLMs, the act of generating code serves as a primary vehicle for reasoning, rather than a secondary output of a natural language thought process.
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