Shangyin Tan

International Computer Science Institute
3 previous affiliations
17Machine learning papers tracked by Lacuna
Is this you?

Research Overview

Shangyin Tan focuses on the intersection of programming languages and artificial intelligence, specifically developing compound AI systems, language model agents, and symbolic execution compilers. His early work explored parallel symbolic execution and staging, while his recent trajectory emphasizes optimizing language model pipelines, agentic recovery, and evolutionary prompt optimization.

Research Trajectory

Early work in programming languages focused on the compilation and parallelization of symbolic execution. He participated in research on Compiling symbolic execution with staging and algebraic effects, and subsequently contributed to LLSC: a parallel symbolic execution compiler for LLVM IR. Continuing in software testing and analysis, he co-developed ItyFuzz: Snapshot-Based Fuzzer for Smart Contract, a tool designed to improve the reliability of decentralized applications.

Around this time, his focus expanded to the integration of programming language concepts with large language models. He collaborated on DSPy Assertions: Computational Constraints for Self-Refining Language Model Pipelines, introducing programming constructs that enforce computational constraints on language model outputs to enable automatic self-refinement.

In the domain of model training efficiency, he contributed to SlimFit: Memory-Efficient Fine-Tuning of Transformer-based Models Using Training Dynamics. This tool dynamically identifies and freezes less important layers to significantly reduce memory requirements during fine-tuning. This work intersects with several research directions, including the area of Activation-Aware Memory Optimization for Large Model Training and the broader field of Memory Efficient Adaptation of Large Scale Models. It also contributes to related areas such as Task-Specific Layer Sensitivity for Efficient Transformers, Bottom-Up Convergence and Hierarchical Layer Stabilization, and Activation Management for Memory Efficient Deep Learning.

His subsequent research heavily emphasizes compound AI systems and the evaluation of language agents. He introduced LangProBe: a Language Programs Benchmark, which provides a large-scale evaluation framework for sequences of language model calls and tool interactions. He also developed Recovery-Bench: Evaluating Agentic Recovery from Mistakes, a benchmark designed to measure how well language model agents can recover from prior errors and corrupted contexts in long-horizon tasks.

Most recently, his work has explored unified optimization frameworks and prompt evolution. He collaborated on optimize anything: A Unified Framework for LLM-Based Mathematical and Scientific Optimization, a declarative system that treats prompts, code, and agent architectures as text artifacts optimized via diagnostic feedback. He also contributed to GEPA: Reflective Prompt Evolution Can Outperform Reinforcement Learning, which leverages natural language reflection and evolutionary search to optimize prompts. This research advances the direction of Evolutionary Search for Optimal Language Model Instructions.

Current Directions

The most recent papers in the evidence address the reliability and optimization of compound AI systems and language agents. A major open problem in this space is agentic resilience—specifically, how systems can detect, navigate, and recover from prior mistakes or corrupted contexts during long-horizon tasks. Alongside evaluation frameworks for these language programs, current work investigates text-based optimization techniques. By treating prompts, code, and agent architectures as unified text artifacts, this research explores how natural language reflection and evolutionary search can serve as semantic gradients, offering a sample-efficient alternative to traditional reinforcement learning for optimizing language model instructions.

Profile updated

See something wrong? Report a mistake