MCP
AS

Adam Stein

36 papers in the library · Same-name authors told apart using DBLP

Papers

30
Monitoring Activations for Real-Time Detection of Cyber Misuse
Carlo AlfanoAdam SteinNeil GollapudiDavid RenardyNick Fram
We introduce Iris Cyber Probe (ICP), a small recurrent classifier that detects cyber misuse of LLMs in real time by reading the deployed model's activations at every token, avoiding the inference cost and latency of using a second LLM as a step-by-step monitor. Trained on over a million labeled chunks of agentic traces from automated red teaming and vendors, with labels marking harmful user requests and model assistance, ICP was built on top of Beam-501B-A23B. Calibrated to flag at most 5% of benign validation traces, it detects 93.1% of harmful test chunks, versus 72.7% for a Kimi K3 text monitor. Integrated into vLLM and SGLang, ICP costs only a 0.6% output-throughput reduction at 64 concurrent users on one additional GPU with SGLang.
arXivarXiv · · November 27, 2026
0
Beam Model Technical Report
Reflection TeamAdam Abdulhamid…Adam Stein
Beam is a sparse Mixture-of-Experts model with 501.3B total and 23.4B active parameters, built for coding, reasoning, and agentic workloads; it delivers frontier-level reasoning while requiring 3–4x less inference compute than many models of its class. Pretrained on 23.8T curated tokens, it reaches a 1M-token context window through a novel two-stage midtraining phase anchored in verifiable correctness data. Post-training used a fully asynchronous RL campaign on 10.5K GB300 GPUs, yielding over 100M rollouts in four weeks, with capabilities still improving as RL compute increased. Hardware-model co-design, FP8/NVFP4 quantization, and a 1.93B-parameter speculative decoding drafter (DFlash 2) maximize serving throughput, and Beam refuses or pivots on 88.9% of harmful requests while complying with 81.5% of harmless ones.
arXivarXiv · · November 19, 2026
0
Position: The Road to Generalizable Neuro-Symbolic Learning Should be Paved with Foundation Models
Adam SteinAaditya NaikNeelay VelingkerMayur NaikEric Wong
This position paper asks what role specialized model training still plays in neuro-symbolic learning now that purely-neural foundation models reach state-of-the-art performance through prompting. Traditional neuro-symbolic learning, which trains neural models jointly with symbolic programs, is limited to simplistic problems; the authors highlight three pitfalls concerning compute, data, and programs that lead to generalization problems. They argue that supplementing foundation models with symbolic programs, called neuro-symbolic prompting, enables generalizable neuro-symbolic solutions and offers a path to the original goals of interpretability, reliability, and efficiency without the downsides of training from scratch.
OpenReviewOpenReview · May 5, 2026
0
The SuperActivator Mechanism: Transformers Concentrate Reliable Concept Signals in the Tail
Cassandra GoldbergChaehyeon KimAdam SteinEric Wong
This work identifies the SuperActivator Mechanism, a transformer dynamic in which concept-aligned attention amplifies activation gaps and concentrates the most reliable concept evidence into a small set of highly activated tokens, the SuperActivators. The authors theoretically characterize two competing effects: a tail amplification effect, in which gaps among already-high activations grow disproportionately fast, and an equalization effect that eventually dominates as attention concentrates on extreme tokens. They empirically confirm the predicted tail amplification across models, image and text modalities, and concept types. Practically, using only high-activation tokens as concept indicators improves detection by up to 14 F1 points, restricting detection to the extreme tail is essential because including activations beyond the top 5–10% introduces noise, and using SuperActivators as instance-specific attribution targets yields more accurate and faithful localization heatmaps than global concept vectors.
OpenReviewOpenReview · · May 4, 2026
0
Detecting Safety Violations Across Many Agent Traces
Adam SteinDavis BrownHamed HassaniMayur NaikEric Wong
Meerkat is a method that combines clustering with agentic search to detect safety violations in large sets of agent traces. Rather than relying on per-trace judges or fixed monitors, it uses structured search to adaptively investigate promising regions, finding sparse failures that are only visible when multiple traces are analyzed together. Across misuse, misalignment, and task gaming settings, Meerkat significantly improves detection over baseline monitors, uncovers widespread developer cheating on a top agent benchmark, and finds nearly 4x more reward hacking examples on CyBench than previous audits.
arXivarXiv · · April 13, 2026
0
9
Detecting Safety Violations Across Many Agent Traces
Adam SteinDavis BrownHamed HassaniMayur NaikEric Wong
Meerkat detects natural-language-specified safety violations across large agent trace collections by combining clustering with agentic search. It adaptively investigates promising regions, enabling sparse, cross-trace, or adversarially hidden failures to surface without seed scenarios, fixed workflows, or exhaustive enumeration. Across misuse, misalignment, and task gaming settings, Meerkat outperforms baseline monitors, uncovers widespread developer cheating on a top agent benchmark, and finds nearly 4x more reward-hacking examples on CyBench than prior audits.
OpenReviewOpenReview · · March 27, 2026
0
Instruction Following by Principled Attention Boosting of Large Language Models
Vitoria GuardieiroAvishree KhareAdam SteinEric Wong
This paper formalizes instruction following in large language models as rule-based competition between instruction-derived rules and context-derived rules, mediated by attention. The authors prove that boosting attention toward instruction tokens tilts this competition so context cannot easily override the instruction, yet excessive boosting suppresses task-relevant context. Guided by this theory, they propose Instruction Attention Boosting, a training-free intervention that applies a constant additive bias to instruction-key attention logits uniformly.
OpenReviewOpenReview · February 4, 2026
0
Instruction Following by Principled Attention Boosting of Large Language Models
Vitoria GuardieiroAvishree KhareAdam SteinEric Wong
This paper formalizes instruction following in large language models as rule-based competition between instruction rules and context-derived rules, mediated by attention. It proves that boosting attention to instruction tokens tilts this competition toward instruction compliance but can overly suppress task-relevant context. Guided by this theory, the authors propose Instruction Attention Boosting (InstABoost), which applies a constant additive bias to instruction-key attention logits across all layers and heads. Evaluated on 15 steering tasks, InstABoost matches or outperforms prompting, latent steering, and prior attention methods, achieving a stronger steering–quality tradeoff.
OpenReviewOpenReview · February 2, 2026
0
The SuperActivator Mechanism: Transformers Concentrate Reliable Concept Signals in the Tail
Cassandra GoldbergChaehyeon KimAdam SteinEric Wong
This work identifies the SuperActivator Mechanism, a transformer dynamic that amplifies concept activation gaps and concentrates the most reliable concept evidence in a small set of highly activated tokens termed SuperActivators. A theoretical characterization proves that concept-aligned attention yields two competing effects: tail amplification, in which gaps among already-high activations grow disproportionately fast, and an equalization effect that eventually dominates as attention concentrates on extreme tokens. The predicted tail amplification is confirmed empirically across models, image and text modalities, and concept types. This motivates using SuperActivators as detection indicators, improving detection by up to 14 F1 points over competing baselines; restricting detection to the extreme tail is essential, since including activations beyond the top 5-10% introduces degrading noise. As instance-specific attribution targets, SuperActivators also yield more accurate and faithful localization heatmaps than global concept vectors.
arXivarXiv · · December 4, 2025
0
0
Experience-Guided Adaptation of Inference-Time Reasoning Strategies
Adam SteinMatthew TragerBenjamin BowmanMichael KleinmanAditya ChattopadhyayWei XiaStefano Soatto
The Experience-Guided Reasoner (EGuR) adapts inference-time reasoning strategies dynamically by generating complete computational procedures—LLM calls, tools, sampling parameters, and control logic—based on accumulated experience. An LLM-based meta-strategy outputs these strategies, with a Guide creating candidates conditioned on the problem and memory, and a Consolidator improving future generation from execution feedback. On five benchmarks (AIME 2025, 3-SAT, three Big Bench Extra Hard tasks), EGuR achieves up to 14% accuracy gains over baselines while reducing costs by up to 111×.
arXivarXiv · · November 14, 2025
0
4
Once Upon an Input: Reasoning via Per-Instance Program Synthesis
Adam SteinNeelay VelingkerMayur NaikEric Wong
PIPS improves LLM reasoning by generating a program per instance and refining it with structural feedback, without task-specific guidance or test cases. A confidence metric dynamically chooses between direct inference and program synthesis. On 30 benchmarks including Big Bench Extra Hard, visual question answering, relational, and mathematical reasoning, PIPS raises absolute harmonic mean accuracy by up to 8.6% and 9.4% over PoT and CoT, and cuts undesirable program generations by 65.1% on algorithmic tasks with Gemini-2.0-Flash.
arXivarXiv · · October 26, 2025
0
2
Instruction Following by Boosting Attention of Large Language Models
Vitoria GuardieiroAvishree KhareAdam SteinEric Wong
This paper proposes Instruction Attention Boosting (InstABoost), a simple, efficient inference-time method that multiplicatively boosts attention to instruction tokens in large language models, avoiding the computationally expensive head selection and over-focusing quality degradation of prior attention-manipulation approaches. The authors build a unified benchmark of 15 diverse behavioral-control tasks and systematically compare InstABoost against instruction prompting and latent steering baselines. On this benchmark, InstABoost consistently outperforms or matches all baselines while preserving generation quality, establishing attention manipulation as a robust behavioral-control method.
OpenReviewOpenReview · September 20, 2025
0
SuperActivators: Transformers Concentrate Concept Signals in Just a Handful of Tokens
Cassandra GoldbergChaehyeon KimAdam SteinEric Wong
The paper identifies the SuperActivator Mechanism: although in-concept and out-of-concept activations overlap, the extreme high tail of in-concept activations provides a reliable concept-presence signal. SuperActivator tokens consistently beat vector-based and prompting detectors by up to 14% F1 across modalities, architectures, layers, and extraction methods, and also improve feature attributions.
OpenReviewOpenReview · September 19, 2025
0
0
Where's the Bug? Attention Probing for Scalable Fault Localization
Adam SteinArthur WayneAaditya NaikMayur NaikEric Wong
The Bug Attention Probe (BAP) achieves state-of-the-art fault localization without any direct localization labels. Instead of relying on executable tests, line-level annotations, or resource-intensive LLM prompting, BAP learns to localize bugs from code alone. Across eight datasets, including Defects4J, BAP improves top-1 accuracy by 34.6% over the strongest baseline and 93.4% over zero-shot GPT-4o prompting, while requiring far less computation. This makes BAP an efficient and effective alternative for scalable fault localization.
OpenReviewOpenReview · · August 23, 2025
0
SuperActivators: Only the Tail of the Distribution Contains Reliable Concept Signals
Cassandra GoldbergChaehyeon KimAdam SteinEric Wong
The authors identify a pattern they call the SuperActivator Mechanism: although in-concept and out-of-concept activations overlap, the extreme high tail of the in-concept distribution yields reliable concept signals. SuperActivator token activations consistently outperform standard vector-based and prompting approaches by up to 14% higher $F_1$ score across modalities, architectures, and layers, and are further used to improve feature attributions for concepts.
OpenReviewOpenReview · · August 23, 2025
0
0
Where's the Bug? Attention Probing for Scalable Fault Localization
Adam SteinArthur WayneAaditya NaikMayur NaikEric Wong
The paper introduces Bug Attention Probe (BAP), a method for fault localization in code that requires no direct localization labels, unlike approaches needing executable tests or costly line-level annotations. Evaluated on Defects4J and seven other datasets spanning diverse bug types and languages, BAP achieves state-of-the-art top-1 accuracy, improving by 34.6% over the strongest baseline and 93.4% over zero-shot GPT-4o prompting, while being far more computationally efficient than large-LLM prompting approaches.
OpenReviewOpenReview · · August 23, 2025
0
Instruction Following by Boosting Attention of Large Language Models
Vitoria GuardieiroAvishree KhareAdam SteinEric Wong
This paper introduces Instruction Attention Boosting (InstABoost), a simple inference-time method that multiplicatively boosts attention to instruction tokens to control large language model behavior while preserving generation quality, avoiding the cost and trade-offs of prior attention-manipulation methods. To validate it, the authors build a unified benchmark across 15 diverse behavioral-control tasks, where InstABoost consistently outperforms or matches baselines including instruction prompting and latent steering, establishing attention manipulation as a robust control approach.
OpenReviewOpenReview · August 23, 2025
0
Towards Style Alignment in Cross-Cultural Translation
Shreya HavaldarAdam SteinEric WongLyle Ungar
Successful communication depends on the speaker’s intended style (i.e., what the speaker is trying to convey) aligning with the listener’s interpreted style (i.e., what the listener perceives). However, cultural differences often lead to misalignment between the two; for example, politeness is often lost in translation. We characterize the ways that LLMs fail to translate style – biasing translations towards neutrality and performing worse in non-Western languages. We mitigate these failures with RASTA (Retrieval-Augmented STylistic Alignment), a method that leverages learned stylistic concepts to encourage LLM translation to appropriately convey cultural communication norms and align style.
ACL AnthologyACL Anthology · July 2025
0
Towards Style Alignment in Cross-Cultural Translation
Shreya HavaldarAdam SteinEric WongLyle Ungar
This paper characterizes style misalignment in cross-cultural LLM translation, where intended cultural style (e.g., politeness) is often lost beyond semantic content. The authors show that LLMs bias translations toward neutrality and perform worse for non-Western languages. To mitigate this, they propose RASTA (Retrieval-Augmented STylistic Alignment), a method that retrieves learned stylistic concepts to guide the model toward conveying culturally appropriate communication norms.
arXivarXiv · · June 30, 2025
0
9
Instruction Following by Principled Boosting Attention of Large Language Models
Vitoria GuardieiroAvishree KhareAdam SteinEric Wong
We formalize instruction following in large language models as competition between instruction-derived rules and context-derived rules, with attention mediating dominance. Boosting attention to instruction tokens tilts this competition toward rule compliance but can suppress relevant context if excessive. Guided by this theory, we propose Instruction Attention Boosting (InstABoost), which applies a constant additive bias to instruction-key attention logits across all layers and heads. Without retraining, it matches or outperforms prompting, latent steering, and prior attention steering across 15 tasks, achieving a better tradeoff between instruction adherence and output quality.
arXivarXiv · · June 16, 2025
0
13
The Road to Generalizable Neuro-Symbolic Learning Should be Paved with Foundation Models
Adam SteinAaditya NaikNeelay VelingkerMayur NaikEric Wong
This position paper argues that foundation models, used via neuro-symbolic prompting rather than trained from scratch, enable generalizable neuro-symbolic solutions. The authors identify three pitfalls of traditional neuro-symbolic learning—compute, data, and program requirements—that limit its generalization. They propose that supplementing foundation models with symbolic programs, termed neuro-symbolic prompting, retains the benefits of interpretability and reliability while overcoming the scaling issues of prior approaches.
arXivarXiv · · May 30, 2025
0
6
The Road to Generalizable Neuro-Symbolic Learning Should be Paved with Foundation Models
Adam SteinAaditya NaikNeelay VelingkerMayur NaikEric Wong
This position paper argues that neuro-symbolic learning can achieve generalizability by using foundation models through prompting, rather than training neural models from scratch with symbolic programs. It highlights three pitfalls of traditional neuro-symbolic learning—related to compute, data, and programs—that limit it to simplistic problems. The authors propose neuro-symbolic prompting, supplementing foundation models with symbolic programs, to handle complex reasoning while retaining interpretability and reliability, and thereby fulfilling the original goals of neuro-symbolic learning.
OpenReviewOpenReview · · May 23, 2025
0
Once Upon an Input: Reasoning via Per-Instance Program Synthesis
Adam SteinNeelay VelingkerMayur NaikEric Wong
We present Per-Instance Program Synthesis (PIPS), which generates and refines programs at the instance level using structural feedback, without task-specific guidance or explicit test cases, and dynamically chooses between direct inference and program synthesis via a confidence metric. Across three frontier LLMs and 30 benchmarks, PIPS improves harmonic mean accuracy by up to 8.6% over PoT and 9.4% over CoT, and cuts undesirable program generations by 65.1% on algorithmic tasks versus PoT with Gemini-2.0-Flash.
OpenReviewOpenReview · · May 7, 2025
0
Where's the Bug? Attention Probing for Scalable Fault Localization
Adam SteinArthur WayneAaditya NaikMayur NaikEric Wong
Bug Attention Probe (BAP) learns state-of-the-art fault localization without direct localization labels. It introduces a probe that uses attention patterns from a smaller, computation-efficient LLM to identify buggy code lines. Evaluated on eight datasets including real-world Java bugs from Defects4J, BAP outperforms traditional FL baselines and large-scale LLM prompting, achieving a 34.6% average improvement in top-1 accuracy over the strongest baseline and 93.4% over zero-shot GPT-4o, while requiring far less computational cost.
arXivarXiv · · February 19, 2025
0
6
Measuring Language Model Uncertainty With Internal Concepts
Adam SteinMatthew TragerBenjamin BowmanAlessandro AchilleStefano Soatto
This paper introduces an uncertainty measure for LLM outputs, derived from entropy over semantic concepts whose meaning is defined internally by the model itself, unlike prior work relying on external models. Built on Formal Concept Analysis and lattice/order theory, the method estimates correctness in closed- and open-ended scenarios, achieving up to 4.8% average relative improvement over five benchmarks and beating comparable baselines on mixed datasets.
OpenReviewOpenReview · September 28, 2024
0
0
Towards Compositionality in Concept Learning
Adam SteinAaditya NaikYinjun WuMayur NaikEric Wong
Existing unsupervised concept extraction methods discover concepts that are not compositional, meaning they do not combine to explain the full sample. This paper identifies two properties of compositional concept representations and proposes Compositional Concept Extraction (CCE) to find concepts obeying those properties. Evaluated on five datasets over image and text data, CCE yields more compositional representations and better accuracy on four downstream classification tasks than baselines.
arXivarXiv · · June 26, 2024
0
16
Towards Compositionality in Concept Learning
Adam SteinAaditya NaikYinjun WuMayur NaikEric Wong
Existing unsupervised concept extraction methods find concepts that are not compositional, failing to explain full samples. To address this, we identify two salient properties of compositional concept representations and propose Compositional Concept Extraction (CCE), which finds concepts obeying these properties. Evaluated on five image and text datasets, CCE discovers more compositional concept representations than baselines and achieves better accuracy on four downstream classification tasks.
OpenReviewOpenReview · · February 2, 2024
0
Rectifying Group Irregularities in Explanations for Distribution Shift
Adam SteinYinjun WuEric WongMayur Naik
We introduce Group-aware Shift Explanations (GSE), a method that rectifies group irregularities in shift explanations—interpretable characterizations of how samples map from an original distribution to a shifted one by reducing disparity. GSE leverages worst-group optimization to maintain group structures, thereby improving explanation feasibility and robustness. Across various domains, GSE demonstrates improvements of up to 20% in feasibility and 25% in robustness over existing techniques.
OpenReviewOpenReview · · October 2, 2023
0
Relational Query Synthesis ⋈ Decision Tree Learning
Aaditya NaikAalok ThakkarAdam SteinRajeev AlurMayur Naik
This paper addresses synthesizing a core fragment of relational queries known as select-project-join (SPJ) queries from input-output examples. Search-based synthesis can navigate relational tables to find projections and joins but needs extra supervision to synthesize comparison predicates, whereas decision tree learning synthesizes such predicates when the database is summarized as a single labelled relational table. The authors adapt and interleave these two methods into an end-to-end framework for queries with categorical and numerical comparison predicates, guaranteeing completeness and strongly encouraging minimality of the synthesized program. Their implementation, Libra, solves 1,361 of 1,475 benchmark instances over 159 multi-table databases in 59 seconds on average, outperforming Scythe and PatSQL in running time and program quality.
PVLDBPVLDB · October 2023
0
Rectifying Group Irregularities in Explanations for Distribution Shift
Adam SteinYinjun WuEric WongMayur Naik
The authors propose Group-aware Shift Explanations (GSE), an explanation method that uses worst-group optimization to rectify group irregularities in shift explanations for distribution shift. Unlike existing techniques that explain how samples map from the original to the shifted distribution by reducing disparity between distributions, GSE maintains group structures while improving feasibility and robustness. Across various domains, GSE achieves up to 20% and 25% improvements in feasibility and robustness, respectively.
OpenReviewOpenReview · · September 23, 2023
0
Frequent collaborators
Eric Wong (28)
Mayur Naik (19)
Aaditya Naik (10)
Yinjun Wu (7)
Neelay Velingker (5)
Vitoria Guardieiro (5)
Avishree Khare (5)
Cassandra Goldberg (4)
Chaehyeon Kim (4)
Shreya Havaldar (4)
Arthur Wayne (3)
Lyle Ungar (3)