MCP
JW

Jack Williams

17 papers in the library

Papers

17
Whose turn is it? Context-guided model routing for stateful agents
Anikesh ParasharAvik DuttaVashu ChauhanSumit GulwaniPriyanshu GuptaHosein HasanbeigVu LeAshish TiwariJack Williams
This paper studies cost-aware model routing for stateful agents, where requests are not independent but depend on session history, tool calls, and prompt-cache reuse. Evaluating on multi-turn SheetCopilot and SpreadsheetBench 2, the authors show that giving the router session history improves task pass rate at a matched offloading rate, nearly matching always using the expensive model. Cost depends on execution dynamics, narrowing the cheaper model's advantage from 6.8x to 3.2x on longer sessions. Cache analysis reveals downward switches recover cost within two LLM calls, while upward switches do not break even, framing agent routing as a sequential decision problem.
arXivarXiv · · October 13, 2026
0
0
When Interfaces Speak: Data-Aware Generative UI Harness for Active Interaction
Xiaolong LiXiaohan XuJinyang LiXinnuo XuGe QuNan HuoJack WilliamsReynold Cheng
GenUI-Harness is a multi-agent system that pairs a Tool Agent with a GUI Coder Agent to generate structured, UI-code interfaces for human-agent interaction, reducing cognitive load and dialogue rounds. Training the coder is difficult due to costly execution-based rewards and reward hacking; they address this with Dynamic UX (sandboxed interaction and reward collection) and Reward Auditor (meta-reward mechanism monitoring distributions and distilling rubrics). Evaluated on UI-TAU Bench (based on Tau-Bench, built from 10 domain databases), GenUI-Harness improves a 4B backbone from 9.33% to 58.00% Pass@3, outperforming larger frontier models, and reduces average dialogue rounds from 3.4 to 1.2.
arXivarXiv · · October 8, 2026
0
0
WidgetEval: Benchmarking Foundation Models on Dynamic Widget Generation for Apps
Jeevana Priya InalaJack WilliamsNicholas WilsonChenglong WangAlex H ChengSameera LankaWen XiaoVishal ChowdharyJianfeng Gao
The paper introduces WidgetEval, a benchmark for evaluating foundation models on generating dynamic application widgets from user specifications and context across domains such as Excel, Word, and synthetic apps. It includes a dataset of widget tasks and a simulation-based strategy that checks generated widgets for runtime and functional errors. Comparing models with various prompting and generation strategies, the authors find closed-source models like GPT-4o outperform open ones like LLaMa-3.1-70B, yet even the best configurations achieve only about 50% success on Excel and Word tasks.
OpenReviewOpenReview · September 17, 2025
0
Unlocking SLM Potential for Data Analysis Code Generation via Non-Parametric Knowledge Distillation
Jinyang LiJack WilliamsNick McKennaArian AskariNicholas WilsonReynold Cheng
DarGO is a training-free framework that distills knowledge from large language models (LLMs) to small language models (SLMs) for data analysis code generation via in-context learning, avoiding resource-intensive fine-tuning. It uses three phases—exploration via a model orchestration interface, memory collection of successful trajectories, and knowledge-driven inference—to enable automatic distillation. Evaluated on WikiTQ, TabMWP, and Bird-SQL, DarGO improves student SLM performance by 27.5% on average, offering a new distillation perspective that balances high performance with privacy-preserving local deployment.
OpenReviewOpenReview · May 11, 2025
0
0
Synthetic Function Demonstrations Improve Generation in Low-Resource Programming Languages
Nick McKennaXinnuo XuJack WilliamsNick WilsonBenjamin Van DurmeChristian Poelitz
This paper proposes generating synthetic, textbook-quality demonstrations of library functions to improve LLM performance in low-resource programming languages. Using a teacher model, the authors create training data for Excel formulas, then finetune a student model. The finetuned model outperforms standard RAG approaches on two question-answering datasets recast into the Excel domain, demonstrating the advantage of synthetic data over retrieval-based methods that yield only modest gains in unfamiliar domains.
arXivarXiv · · March 24, 2025
0
1
Dynamic Prompt Middleware: Contextual Prompt Refinement Controls for Comprehension Tasks
Ian DrososJack WilliamsAdvait SarkarNicholas Wilson
This paper investigates prompt middleware to help users control AI-generated explanations for comprehension tasks like explaining formulas or code. Through a formative survey (n=38), the authors identify a trade-off between standardized and adaptive support. They implement and compare two approaches: Dynamic Prompt Refinement Control (Dynamic PRC), which generates context-specific UI refinements, and Static PRC with a fixed list. A controlled study (n=16) shows that Dynamic PRC provides more control, lowers barriers, and encourages exploration, though reasoning about refinement effects remains challenging. The findings suggest dynamic middleware can improve generative AI workflows.
arXivarXiv · · December 3, 2024
0
23
Agents Help Agents: Exploring Training-Free Knowledge Distillation for Small Language Models in Data Science Code Generation
Jinyang LiJack WilliamsNick McKennaArian AskariNicholas WilsonReynold Cheng
This paper investigates whether large language models can distill knowledge to small language models for data science code generation without training, using in-context learning. It introduces the Agents Help Agents (AHA) framework, which orchestrates a teacher LLM and a student SLM across three phases: exploration, memory collection, and inference augmentation. AHA proposes two distillation strategies—a static offline instruction set and a dynamic RAG-based approach. Experiments on TabMWP, BirD-SQL, and WikiTQ show an average 27.5% relative improvement for Phi-3-mini, with smaller gains for non-calibrated models, demonstrating model-agnostic distilled knowledge.
OpenReviewOpenReview · September 26, 2024
0
0
Improving Steering and Verification in AI-Assisted Data Analysis with Interactive Task Decomposition
Majeed KazemitabaarJack WilliamsIan DrososTovi GrossmanAustin HenleyCarina NegreanuAdvait Sarkar
This paper tackles the challenges of steering and verifying AI-assisted data analysis. Two interactive task-decomposition approaches were developed: Stepwise, which breaks the problem into step-by-step subgoals with editable assumptions and code, and Phasewise, which separates the task into three editable logical phases for input/output assumptions, an execution plan, and code. In a within-subjects experiment (n=18), both systems significantly improved users' perceived control and ease of intervention, correction, and verification compared to a conversational baseline, informing design guidelines for such tools.
arXivarXiv · · July 2, 2024
0
124
Solving Data-centric Tasks using Large Language Models
Shraddha BarkeChristian Poelitz…Jack Williams
Large language models are rapidly replacing help forums like StackOverflow, and are especially helpful to non-professional programmers and end users. These users are often interested in data-centric tasks , like spreadsheet manipulation and data wrangling, which are hard to solve if the intent is only communicated using a natural-language description, without including data. But how do we decide how much data and which data to include in the prompt?This paper makes two contributions towards answering this question. First, we create a dataset of real-world NL-to-code tasks manipulating tabular data, mined from StackOverflow posts. Second, we introduce a novel cluster-then-select prompting technique, which adds the most representative rows from the input data to the LLM prompt. Our experiments show that LLM performance is indeed sensitive to the amount of data passed in the prompt, and that for tasks with a lot of syntactic variation in the input table,our cluster-then-select technique outperforms a random selection baseline.
ACL AnthologyACL Anthology · June 2024
0
Solving Data-centric Tasks using Large Language Models
Shraddha BarkeChristian Poelitz…Jack Williams
This paper addresses data-centric tasks where a user's natural-language intent must be realized as code over tabular data, a setting increasingly common with LLMs. The authors introduce a cluster-then-select prompting technique that adds the most representative rows from the input table to the prompt. Experiments show LLM performance is sensitive to the amount of data included, and that the proposed method outperforms a random selection baseline, particularly when the input table has high syntactic variation. A new dataset of real-world NL-to-code tasks mined from StackOverflow supports the analysis.
arXivarXiv · · February 18, 2024
0
10
Participatory prompting: a user-centric research method for eliciting AI assistance opportunities in knowledge workflows
Advait SarkarIan DrososRob DelineAndrew D. GordonCarina NegreanuSean RintelJack WilliamsBenjamin Zorn
Participatory prompting is a work-in-progress method that combines contextual inquiry with researcher-mediated generative model interaction. It enables study participants to explore AI assistance opportunities in their knowledge workflows without needing to develop their own prompting strategies, addressing the challenge of balancing current AI capabilities with open-ended user tasks. The method is being developed for a study targeting generative AI opportunities in data analysis workflows.
arXivarXiv · · December 27, 2023
0
21
Co-audit: tools to help humans double-check AI-generated content
Andrew D. GordonCarina NegreanuJosé CambroneroRasika ChakravarthyIan DrososHao FangBhaskar MitraHannah RichardsonAdvait SarkarStephanie SimmonsJack WilliamsBen Zorn
This paper introduces and defines co-audit tools, which help users double-check AI-generated content, complementing prompt engineering. Focusing on generative models for spreadsheet computations, the authors argue that such tools are essential when quality matters and errors are consequential. They propose preliminary principles for co-audit and outline research challenges, using the spreadsheet domain as a concrete example to motivate the need for tool-assisted verification of complex AI output.
arXivarXiv · · October 2, 2023
0
39
"What It Wants Me To Say": Bridging the Abstraction Gap Between End-User Programmers and Code-Generating Large Language Models
Michael Xieyang LiuAdvait SarkarCarina NegreanuBen ZornJack WilliamsNeil TorontoAndrew D. Gordon
This paper studies the "abstraction matching" challenge faced by non-expert end-user programmers when using code-generating large language models. Focusing on spreadsheet data analysis with Codex, the authors propose "grounded abstraction matching." This approach bridges the abstraction gap by translating the model's generated code back into a systematic, predictable natural language utterance. A between-subjects think-aloud study (n=24) shows that grounded abstraction matching improves end-users' understanding of the model's scope and capabilities, and the type of language needed for effective use, compared to an ungrounded alternative based on established query-framing principles.
arXivarXiv · · April 13, 2023
0
227
Rows from Many Sources: Enriching row completions from Wikidata with a pre-trained Language Model
Carina NegreanuAlperen KaraogluJack WilliamsShuang ChenDaniel FabianAndrew GordonChin-Yew Lin
Row completion augments a table with additional rows. The authors achieve state-of-the-art results on WikiTables by combining knowledge-base table interpretation with free-text generation. They use the knowledge base to suggest new rows and generate metadata via property linking, then synthesize diverse candidates using GPT-3 with prompts enriched by that metadata. Synthesized content is verified against the knowledge base or trusted web sources.
arXivarXiv · · April 14, 2022
0
5
The Inscribed Angle Theorem for the Hyperbola
Jack Williams
The paper generalizes the inscribed angle theorem from circles to rectangular hyperbolas by replacing the Euclidean angle with a pseudo-angle defined via the Minkowski inner product. In Minkowski space, the unit hyperbola plays a role analogous to the Euclidean unit circle. This geometric result connects to special relativity, and in the $c\to\infty$ limit it yields a non-relativistic result interpretable as an inscribed angle theorem for the parabola, which can also be obtained from the Euclidean theorem by taking a limit of ellipses.
arXivarXiv · · April 19, 2021
0
Minitwistors and 3d Yang-Mills-Higgs theory
Tim AdamoDavid SkinnerJack Williams
We obtain a minitwistor action for 3d Yang–Mills–Higgs theory whose Feynman diagrams yield perturbation theory around solutions of the Bogomolny equations, analogous to how MHV diagrams treat the self-dual sector in four dimensions. We also present a new formula for all tree amplitudes (including the maximally supersymmetric case) via degree-$d$ maps to minitwistor space, relating it to the four-dimensional RSVW formula and verifying correct MHV amplitudes and factorization.
arXivarXiv · · December 27, 2017
0
Twistor methods for AdS5_5
Tim AdamoDavid SkinnerJack Williams
The paper develops twistor methods for five-dimensional anti-de Sitter space (AdS$_5$). It shows that the twistor space of AdS$_5$ equals the ambitwistor space of its four-dimensional conformal boundary. A Penrose transform describes free bulk fields, massive or massless, via data on twistor space. Explicit bulk-to-boundary propagators for scalars and spinors are constructed, and twistor action functionals for free theories are shown to yield the correct two-point functions when evaluated on these propagators.
arXivarXiv · · July 13, 2016
0
Authors with the same name
Jack Williams #0001 · 10 papers
Jack Williams · 0 papers
Frequent collaborators
Advait Sarkar (7)
Carina Negreanu (6)
Nicholas Wilson (4)
Ian Drosos (4)
Andrew D. Gordon (4)
Vu Le (3)
Jinyang Li (3)
Reynold Cheng (3)
Nick McKenna (3)
Christian Poelitz (3)
Benjamin Zorn (3)
José Cambronero (3)