Hao Ma

Hao Ma

Meta (United States)
2 previous affiliations
13Machine learning papers tracked by Lacuna

5 other authors named Hao Ma: Hao Ma (38 papers), Hao Ma (17 papers), Hao Ma (7 papers), Hao Ma (Hong Kong Baptist University · 4 papers), Hao Ma (1 paper)

Is this you?

Research Overview

Hao Ma focuses on the intersection of large-scale machine learning, natural language processing, and recommendation systems. His research explores the efficiency and reasoning capabilities of foundation models, with a particular emphasis on long-context modeling, multimodal integration, and alignment through reinforcement learning. Ma’s work has evolved from early investigations into behavioral similarity and social influence in recommendation systems to the development of sparse attention mechanisms and robust alignment strategies for modern large language models (LLMs).

Research Trajectory

Ma’s early research, primarily active between 2010 and 2011, focused on the fundamental challenges of collaborative filtering and user modeling in digital ecosystems. During this period, he investigated methods for Measuring Behavioral Similarity via Statistical Divergence, proposing that users should be modeled as probability distributions rather than static vectors to better capture the "shape" of their behavior. This work extended into the social domain, where he explored Weighting Social Influence via Behavioral Similarity to distinguish between nominal social connections and genuine taste similarity. He also addressed the "semantic gap" in recommendation by developing The Semantic Bottleneck of ID-Based Recommendation, which moved beyond opaque identifiers toward content-aware modeling. Additionally, his early work analyzed the power-law dynamics of user activity in Modeling the Heavy Tail of Digital User Engagement.

While the available evidence is sparse for the period between 2012 and 2018, Ma’s work re-emerged in 2019 with a shift toward the computational efficiency of Transformer architectures. As models began to process increasingly long sequences, Ma addressed the "quadratic bottleneck" of self-attention through research into Linear and Sparse Attention for Long Contexts. This period was characterized by the development of methods for Selective Context Retention for Long Sequence Modeling, which sought to maintain model performance while reducing the memory overhead of the Key-Value (KV) cache.

From 2020 onward, Ma’s research expanded into broader natural language processing tasks, including misinformation detection, few-shot learning, and multimodal extraction. His recent work, spanning 2022 to 2026, focuses on the scaling and alignment of foundation models. This includes senior-level contributions to long-context scaling and collaborative efforts in developing benchmarks for instruction following and reasoning-augmented agents.

Current Directions

Ma’s current research trajectory involves the refinement of LLM alignment and the enhancement of logical consistency in complex reasoning tasks. A significant portion of his recent work addresses the limitations of Reinforcement Learning from Human Feedback (RLHF), specifically the challenges of "reward hacking" and the trade-offs inherent in multi-objective optimization. He has participated in developing novel post-training paradigms, such as Constrained Generative Policy Optimization (CGPO) and the use of a "Mixture of Judges" to manage conflicting objectives in multi-task learning.

Furthermore, Ma is exploring the integration of causality into reward modeling to mitigate spurious correlations and biases—such as length bias and sycophancy—that often hinder model alignment. His work also extends to the development of reasoning-augmented multimodal agents that combine the strengths of Vision-Language Models (VLMs) with classical recommendation techniques, aiming for more transparent and uncertainty-aware decision-making in complex environments.

Representative Work

In Blockwise Self-Attention for Long Document Understanding (2020), Ma as first author introduced BlockBERT, a variant of the BERT architecture designed for efficient long-document processing. The model replaces standard dense self-attention with a sparse, blockwise masking strategy. This approach significantly reduces the computational and memory overhead that typically limits Transformers to short sequences, enabling the processing of much longer contexts without the quadratic cost.

As the senior author of Effective Long-Context Scaling of Foundation Models (2024), Ma oversaw the development of a series of long-context LLMs capable of supporting context windows up to 32,768 tokens. The research utilized continual pretraining from the Llama 2 base model, employing longer training sequences and upsampling long-form data. The study demonstrated that a cost-effective instruction tuning procedure, which does not rely on human-annotated long instruction data, allows large-scale models to maintain high performance on standard tasks while significantly improving their ability to handle long-context benchmarks.

Ma contributed to the development of Luna: Linear Unified Nested Attention (2021), an attention mechanism that achieves linear complexity relative to sequence length. By nesting two linear attention functions, Luna provides a faster and more memory-efficient alternative to standard attention mechanisms, achieving competitive performance on long-sequence benchmarks. This work represents a key technical contribution to the broader effort of making large-scale Transformers more computationally sustainable.

In the area of few-shot learning, Ma participated in the development of Entailment as Few-Shot Learner (2021). This research proposed a method (EFL) to turn smaller language models into more effective few-shot learners by reformulating various NLP tasks into entailment problems. By fine-tuning models on as few as eight examples and combining this with unsupervised contrastive learning, the approach allows smaller models to achieve performance levels previously associated with much larger, parameter-heavy architectures.

Ma’s work in multimodal systems is represented by ReasonRec: A Reasoning-Augmented Multimodal Agent for Unified Recommendation (2025). This research addresses the opacity of traditional multimodal recommenders by introducing a three-stage reasoning pipeline: Observe (via a VLM encoder), Deliberate (using chain-of-thought reasoning and uncertainty quantification), and Act (dynamically delegating tasks to specialized models). This framework aims to create recommendation agents that are not only more accurate but also more self-aware of their own predictive uncertainty.

In the domain of model alignment, Ma contributed to Beyond Reward Hacking: Causal Rewards for Large Language Model Alignment (2026). This work proposes a causal reward modeling approach to address the spurious correlations that often plague RLHF. By enforcing counterfactual invariance, the method ensures that reward predictions remain stable across different contexts, thereby reducing common biases like sycophancy and conceptual bias and ensuring the model captures true causal relationships during the alignment process.

Profile updated

See something wrong? Report a mistake