Leheng Sheng

Leheng Sheng

National University of Singapore
3 previous affiliations
22Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Leheng Sheng focuses on representation learning in large language models, the development of LLM-based recommender systems, and the design of autonomous agents. His early work addressed debiasing and adversarial robustness in collaborative filtering before shifting toward integrating generative language models into recommendation architectures. Most recently, his research investigates the internal reasoning mechanisms, safety alignment, and inference-time control of large reasoning models.

Research Trajectory

Sheng's early research explored predictive modeling and robust representation learning. Following an initial comparative study on deep time series models for financial forecasting in Stock Market Movement Prediction: A Comparative Study Between Machine Learning and Deep Time Series Models, his focus shifted to the structural challenges of recommender systems. He contributed to the research direction of Correcting Exposure Bias in Implicit Feedback Models by developing AdvInfoNCE, a principled adversarial contrastive loss designed to frame negative sampling as a min-max game, thereby linking contrastive learning with distributionally robust optimization in Empowering Collaborative Filtering with Principled Adversarial Contrastive Loss. He further addressed algorithmic fairness in graph-based collaborative filtering by participating in the design of AdvDrop, an adversarial graph dropout framework that neutralizes spurious interactions to mitigate issues in the broader area of Structural Popularity Bias in Graph Collaborative Filtering General Debiasing for Graph-based Collaborative Filtering via Adversarial Graph Dropout.

Recognizing the potential of large language models (LLMs) to capture complex user behaviors, Sheng began integrating generative AI into recommendation architectures. He introduced Agent4Rec, a recommendation simulator utilizing LLM-powered generative agents endowed with personalized profiles and social traits to study phenomena like filter bubbles without the risks of live A/B testing On Generative Agents in Recommendation. To address the high variability of user behavior in sequential recommendation, he and his collaborators developed Instance-wise LoRA (iLoRA), which embeds a Mixture of Experts framework into parameter-efficient fine-tuning layers. This work advanced the direction of Adaptive Gating for Multi-Scale Interest Fusion by generating unique adapters for individual user sequences Customizing Language Models with Instance-wise LoRA for Sequential Recommendation. He also explored the alignment of language models with personalized ranking tasks using Direct Preference Optimization On Softmax Direct Preference Optimization for Recommendation.

A major theme in Sheng's subsequent work is the theoretical and empirical bridge between language semantics and collaborative filtering signals. He investigated whether LMs implicitly encode user preferences, demonstrating that a recommendation space can be extracted directly from language representations Language Models Encode Collaborative Signals in Recommendation. This insight culminated in AlphaRec, a model that leverages these implicit collaborative signals to achieve zero-shot transfer and intention-aware recommendations Language Representations Can be What Recommenders Need: Findings and Potentials. Concurrently, he introduced MiniOneRec, an open-source framework that scales generative recommendation backbones by replacing traditional embedding tables with compact Semantic IDs, contributing to techniques like Group Relative Policy Optimization for Large Reasoning Models MiniOneRec: An Open-Source Framework for Scaling Generative Recommendation.

Most recently, Sheng's research has expanded into the mechanistic behavior, safety alignment, and inference-time control of large reasoning models. He identified internal "pre-allocation vectors" that allow models to plan their reasoning length before generating text, enabling manual steering of reasoning depth On Reasoning Strength Planning in Large Reasoning Models. He continued this mechanistic investigation by localizing where reasoning occurs during token generation Reasoning Can Be Restored by Correcting a Few Decision Tokens. To manage long-context reasoning efficiently, he proposed GRU-Mem, a gated recurrent memory mechanism trained via reinforcement learning to selectively memorize and exit processing When to Memorize and When to Stop: Gated Recurrent Memory for Long-Context Reasoning.

In parallel, Sheng has developed robust methods for model safety and unlearning. With collaborators, he proposed MLLMEraser, a test-time unlearning framework for multimodal models that uses activation steering and null-space projection to erase specific knowledge without parameter updates MLLMEraser: Achieving Test-Time Unlearning in Multimodal Large Language Models through Activation Steering. Building on this null-space constraint approach, he introduced AlphaSteer to protect LLMs from jailbreak attacks by selectively steering malicious prompts while preserving benign performance AlphaSteer: Learning Refusal Steering with Principled Null-Space Constraint. Finally, he contributed to AlphaAlign, a simplified reinforcement learning framework that incentivizes models to reason about safety internally, decoupling helpfulness from harmlessness without relying on expensive human-annotated reasoning data AlphaAlign: Incentivizing Safety Alignment with Extremely Simplified Reinforcement Learning.

Current Directions

The most recent papers in the evidence indicate a strong focus on the mechanistic interpretability and safety alignment of large reasoning models. Recent work investigates how models allocate computational resources during inference, exploring techniques to predict and steer reasoning length dynamically by analyzing internal activations. Additionally, current research addresses inference-time control and test-time unlearning, utilizing activation steering and null-space projections to enforce safety constraints and defend against jailbreak attacks without degrading general performance. Finally, ongoing efforts aim to optimize long-context reasoning through reinforcement learning-based memory mechanisms that allow models to selectively retain information and halt processing efficiently.

Profile updated

See something wrong? Report a mistake