研究方向 · Research Interest
- Programming Language and Type Systems
- Formal Verifications
- Trustworthy AI & LLM Hallucination Mitigation
- Differential Privacy
- AI Infra · 大模型推理加速(CPU / NPU 异构)
I have been working on topics:
- A programming language with a probabilistic type system for adaptive programs, using type information to guarantee confidence intervals on outputs. Github
- An automatic formal verification tool for differentially private algorithms implemented in floating point computation. Github
PhD Thesis: QUANTITATIVE Types for QUANTITATIVE-REACHABILITY PROPERTIES
工作经历 · Work Experience
Huawei Technologies Co., Ltd. · 项目按时间倒排(最新在最上)· 中英双语
Agent Infra(RSI 智能体自迭代基础设施)
- 设计并构建 RSI(Recursive Self-Improvement)智能体自迭代基础设施,支撑智能体「生成-执行-评估-改进」闭环的大规模并行迭代;
- 构建高吞吐沙箱编排与生命周期管理体系,覆盖沙箱创建/启动/销毁/快照/恢复的全流程调度,实现资源池化与并行复用;
- 优化沙箱启动热路径(镜像分层、懒加载、预热缓存、并发销毁回收),消除启动/销毁的串行瓶颈。
项目背景
智能体大规模自迭代(RSI)依赖「沙箱内执行-结果评估-策略改进」的密集迭代循环,沙箱创建/销毁速度直接决定迭代吞吐。传统逐次创建-销毁的沙箱管理方式启动开销大、串行化严重,成为 Agent 训练与评测规模化的瓶颈,亟需高吞吐的沙箱生命周期基础设施。
CPU 侧 LLM 推理优化加速(AI Infra)
- SchedZero — ARM-GIL-Aware 调度热路径消减与 NUMA-KV 亲和调度:消减 ARM 侧 GIL 感知调度热路径开销;KV Cache 按 NUMA 亲和分配,使 decode 每步调度与访存局部化,消除跨节点 KV 访问延迟。
- ArchRoute-JIT — 鲲鹏微架构感知的算子路由与 JIT-BRGEMM 特化选择:将算子选择从「矩阵形状 + dtype」静态查表升级为「指令集能力 + NUMA 亲和 + Cache 层级」的运行时微架构感知路由,使 INT8 GEMM 自动落到支持 i8mm 的鲲鹏 920B/950 特化内核,避免 ONNX Runtime 在 ARM 上回退到非 ACL 的 CPUExecutionProvider 低效路径。
- GraphPipeline-UB — CPU-Graph 异步流水线与 UB 通算融合的零气泡下发:将 CPU 控制面(调度→元数据→图查找→下发)与加速器计算面解耦为异步流水线,以整图 O(1) launch 替代 eager 回退逐算子 O(n) launch,规避 ARM sched_yield 等待异常与远端 NUMA 图缓存读取,实现 decode 每步零气泡下发。
- CompileLocal-NUMA — NUMA-Local 预编译产物亲和缓存与启动期微基准快速搜索(详见项目三)。
项目背景
CPU 侧 vLLM/ONNX Runtime 的算子选择仅按「形状 + dtype」静态匹配,同一形状 GEMM 在支持 i8mm 的鲲鹏 920B/950 与早期 920 上走同一条通用 NEON 路径,i8mm 吞吐优势未被利用;图下发存在 CPU 控制面与计算面的串行耦合,串行窗口宽度直接决定 decode 每步「气泡」;ARM sched_yield 问题、远端 NUMA 图缓存、eager 回退 O(n) launch 进一步放大开销。
CPU 图编译加速(重点开发项目)
- 预编译产物 NUMA-local 分配:通过 mbind / numa_alloc_local 将融合算子二进制、常量折叠权重布局、slot mapping 模板等预编译产物(数十 MB~数百 MB)常驻分配在 worker 绑定的本地 NUMA 节点/大页并生命周期内不迁移,消除首次 forward 的跨节点加载(远端带宽约本地 1/3、延迟 2–3 倍)。
- JIT 缓存按 NUMA 节点分片:将 KDNN JIT 缓存目录从全局单例改为 CACHE_ROOT/numa_N/ 分片,各 NUMA 进程/DP rank 只读写本地分片并按节点独立淘汰,消除高核数下多进程并发编译的文件锁/内存锁竞争。
- 启动期「快速搜索」替代黑盒 autotuning:仅对典型 shape 桶(prefill [1k, 4k, 8k, 16k]、decode [1, 2, 4, 8, 16, 32])做一次性微基准标定生成决策表,非典型 shape 由 JIT 按需生成并缓存,将启动期搜索空间从「全 shape」压缩到「桶边界 shape」。
- 图产物 NUMA-local 预取:服务进入就绪前通过 madvise(MADV_WILLNEED) / 访问预热 prefault 预编译产物到本地,消除首次 forward 触发的 demand paging 与跨节点加载长尾。
- V4 Hash-MoE 常量折叠联动:将 V4 前 3 层冻结路由在图中完全常量折叠,消除 3/43 层路由相关的 JIT/autotuning 开销;针对 Grouped Output Projection 的分组低秩形状,按组大小分布设计 shape 桶。
项目背景
图预编译产物若被分配在远端 NUMA 节点、或 JIT 缓存被多 NUMA 进程全局争用,服务热起来后的首次 forward 会反复触发跨节点加载与缓存锁竞争,「一次性开销」形成长尾:冷启动时间被拉长的同时热路径首次访问也受污染。鲲鹏+昇腾场景图编译与算子融合阶段约 80 秒(Dynamo 20s + CANN 48s + warm-up),整个启动链 4–5 分钟,弹性扩缩容时该长尾直接影响新实例就绪时间。
OpenFuyao(昇腾 NPU 生态)
- 设计并优化 NPU 感知算子库与内存调度策略;将工具包集成至主流大模型框架;在大规模部署场景下实现显著的推理延迟降低。
- 华为昇腾计算生态核心贡献者,推动国产 AI 加速器上的大模型高效推理。
ChatBI(可信智能问数分析平台)
- 突破基于中间表示(IR)的生成-验证-迭代循环代码生成技术,构建多维度验证与优化器机制,实现大模型概率性输出向确定性结果的转化;
- 设计结构化问数意图处理体系(意图校验与澄清、拒答引导、查询改写);通过语义层 IR 设计与代码化表列建模,结合验证器校验保障生成确定性;
- 构建 OmniGuard 全表/全列/取值/泛化全覆盖测试体系(1w+ 用例)及五层分级评测机制,支撑 2000+ 用例/天的快速迭代。
项目背景
企业、2C、运营商运维场景中,专业/非专业运维人员的突发&例行检查需要场景特有、临时多变的数据查询和分析,亟需零门槛数据查询与分析能力。核心挑战:1)免增训/免微调情况下基于 LLM 通用能力理解领域术语和意图;2)生成复杂代码;3)将大模型概率性输出转化为确定性结果。实现在有限表列空间内(200+)基于自然语言生成复杂查询语句,准确率 >90%、E2E 平均 <20s。
大模型友好数据模型治理 (简)
- 定义《公共开发部大模型友好数据模型设计规范》(33 项质量规范)并实现 33 项规范自动化检视;
- 累计治理 500+ 张逻辑数据模型(表)及 10000+ 数据模型属性(字段),支撑 ChatBI、SPN 故障诊断、北向智能体、网络优化智能体等下游业务,智能体准确率平均提升 40%。
AI 辅助代码检视 (简)
- 提出数据驱动(大模型)与知识驱动(形式化验证)融合检视方案;
- AI Committer 能力上线 Codehub、Sophie 平台并融入生产 MR 流程,覆盖 50 类高频及严重代码共性缺陷;R25C10 版本检视意见被采纳 1832 次,采纳率达 80%+(占该版本总检视意见 6.8%)。
Projects (English)
展开 / 收起英文版项目经历(7 个项目)
Agent Infra (RSI Self-Improvement Infrastructure)
- Designed and built the RSI (Recursive Self-Improvement) agent infrastructure, supporting massively parallel "generate–execute–evaluate–improve" iteration loops for agents;
- Built a high-throughput sandbox orchestration and lifecycle management system covering create/start/destroy/snapshot/recover with resource pooling and parallel reuse;
- Optimized the sandbox startup hot path (image layering, lazy loading, warm caches, concurrent reclamation) to remove serial bottlenecks in create/destroy cycles.
CPU-Side LLM Inference Optimization (AI Infra)
- SchedZero – ARM-GIL-Aware scheduling hot-path reduction & NUMA-KV affinity scheduling: slashes GIL-aware scheduling overhead on ARM and places KV cache with NUMA affinity, localizing per-step scheduling and memory access to remove cross-node KV access latency.
- ArchRoute-JIT – Kunpeng microarchitecture-aware operator routing with JIT-BRGEMM specialization: upgrades operator selection from static "shape + dtype" lookup to runtime microarchitecture-aware routing over instruction-set capability, NUMA affinity, and cache hierarchy, so INT8 GEMMs land on i8mm-specialized Kunpeng 920B/950 kernels instead of generic NEON, avoiding fallback to the non-ACL CPUExecutionProvider.
- GraphPipeline-UB – CPU-Graph asynchronous pipelining with zero-bubble dispatch: decouples the CPU control plane (schedule → metadata → graph lookup → dispatch) from the accelerator compute plane; replaces per-operator O(n) eager launches with whole-graph O(1) launches, mitigating ARM sched_yield anomalies and remote-NUMA graph-cache reads.
- CompileLocal-NUMA – NUMA-local affinity caching of precompiled artifacts & startup fast search (see Project 3).
CPU Graph Compilation Acceleration (Key Development)
- NUMA-local allocation of precompiled artifacts: uses mbind / numa_alloc_local to pin fused-operator binaries, constant-folded weight layouts, and slot-mapping templates (tens to hundreds of MB) to the worker-bound local NUMA node / huge pages for their lifetime, eliminating cross-node loading on first forward (remote bandwidth ≈ 1/3 of local, latency 2–3×).
- NUMA-sharded JIT caches: changes the KDNN JIT cache from a global singleton to per-node CACHE_ROOT/numa_N/ shards, so each NUMA process / DP rank reads and writes only its local shard with independent eviction, removing lock contention among concurrent compilers on high-core-count systems.
- Startup "fast search" instead of black-box autotuning: calibrates only typical shape buckets once at startup (prefill [1k, 4k, 8k, 16k]; decode [1, 2, 4, 8, 16, 32]) to build a decision table; non-typical shapes are JIT-generated on demand and cached, compressing the startup search space from all shapes to bucket boundaries.
- NUMA-local prefetch of graph artifacts: prefaults precompiled artifacts into local memory (madvise(MADV_WILLNEED) / access warming) before readiness, eliminating demand paging and cross-node loading on the first forward.
- V4 Hash-MoE constant folding: fully constant-folds the first 3 frozen routing layers of V4, removing their runtime routing decisions and JIT/autotuning needs (3/43 layers), and sizes shape buckets by the group-size distribution of Grouped Output Projection.
OpenFuyao (Ascend NPU Ecosystem)
- Designed and optimized NPU-aware operator libraries and memory scheduling; integrated the toolkit with mainstream LLM frameworks; achieved significant latency reduction for large-scale deployment.
- Core contributor to Huawei's Ascend computing ecosystem, enabling efficient LLM inference on domestic AI accelerators.
ChatBI (Trustworthy Intelligent Data Query & Analytics Platform)
- Pioneered an IR-based generate-verify-iterate code generation paradigm with multi-dimensional validation and optimizer mechanisms, converting probabilistic LLM outputs into deterministic results;
- Designed a structured intent processing pipeline (intent verification & clarification, rejection guidance, query rewriting) with semantic-layer IR design and validator checks;
- Built OmniGuard – 10,000+ test cases covering full-table, full-column, value, and generalization scenarios, with a five-tier evaluation system enabling 2,000+ test cases/day iteration.
LLM-Friendly Data Model Governance (Condensed)
- Defined the "LLM-Friendly Data Model Design Specification" (33 quality rules) with automated inspection for all 33 rules;
- Governed 500+ logical data models and 10,000+ attributes, supporting ChatBI, SPN fault diagnosis, northbound agent, and network optimization agent, driving an average 40% accuracy improvement.
AI-Assisted Code Review (Condensed)
- Proposed a hybrid review framework integrating data-driven (LLM) and knowledge-driven (formal verification) approaches;
- Deployed AI Committer on Codehub and Sophie into production MR workflows, covering 50 categories of defect patterns; 1,832 comments adopted in R25C10 with an 80%+ adoption rate.
专利发表 · Patents(20 篇)
涵盖 DSL 验证、LLM 调优、容器化升级、KVCache 加速等方向
学术 · Academic Activity
Publications
in Proceedings of the 44th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI 2023), Orlando, FL, USA.
Patents
18 filed/published patents (as of 2026) in intelligent data analysis, LLM hallucination mitigation, code-based modeling, and NPU acceleration.
Talks / Posters
2019Short talk – Type System in Adaptive Data Analysis – EGLPLS (Cornell University, NY, USA)
2018Poster – Tailoring Differentially Private Bayesian Inference to Distance Between Distributions – TPDP of CCS (Toronto, Canada)
Teaching
TA for CS 320 Concepts of Programming Languages (Boston University, 2019 Fall); CSE 305 Introduction to Programming Languages (UB, 2017–2019); CSE 542 Software Engineer Concept (UB, 2017 Fall)
履历 · Curriculum Vitae
联系方式 · Contact
✉ jiawenl [at] bu.edu | ☎ +86 19200349925
GitHub | Personal Homepage | Previous site @ BU | Previous site @ UB