It's not the Language Model, it's the Tool: Deterministic Mediation for Scientific Workflows
Marios Adamidis, Danae Katrisioti, Yannis Tzitzikas, Emmanuel Stratakis

TL;DR
This paper introduces typed mediation, a pattern where language models orchestrate deterministic scientific tools to ensure reproducible results, demonstrated through photoluminescence analysis across multiple platforms.
Contribution
The paper proposes a novel pattern for scientific workflows that guarantees reproducibility by mediating deterministic tools through language models, addressing variability in analysis outputs.
Findings
Typed mediation produces identical results across multiple runs.
Commercial platforms show variability or fail to produce valid results.
Deployment on local infrastructure ensures reproducibility and user satisfaction.
Abstract
Language models can produce convincing scientific analyses, but repeated generations on the same data do not guarantee the same result. A researcher may regenerate an identical query and receive a different fit, a different peak position or a different analysis procedure, without an obvious way to decide which output to trust. We propose typed mediation, a pattern in which the model orchestrates deterministic tools rather than generating analytical code. Each tool encodes one researcher's exact procedure for one instrument, ported through structured interviews. The model selects which tool to call and with what parameters. The tool produces the result. Regeneration does not change it. We evaluate this claim by running the same photoluminescence analysis on four platforms, including three commercial foundation models, four times each with the same prompt. The typed tool produces…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
