Egent:等效宽度测量的自主代理
Egent: An Autonomous Agent for Equivalent Width Measurement
AI总结:
Egent结合传统多Voigt拟合与大语言模型视觉检查,实现自动化等效宽度测量,通过函数调用进行拟合推理,验证结果与专家测量一致,且能压缩专家工作量,提供开源代码和网页接口。
摘要:
我们介绍了Egent,一种结合经典多Voigt轮廓拟合与大语言模型(LLM)视觉检查和迭代优化的自主代理。拟合引擎从头构建,依赖最小,使LLM能通过函数调用进行拟合推理,如调整波长窗口、添加混合成分、修改连续体处理等。Egent直接在原始光谱上操作,无需预归一化连续体。我们通过18,615条C3PO程序数据验证,与专家测量的MAD为5-7mA,无后处理修正。LLM主要负责质量控制,确认良好拟合(约60-65%的线被LLM优化并接受),标记问题案例(约10-20%),并偶尔挽救边缘案例。GPT-5与GPT-5-mini的一致性验证了可重复性,GPT-5-mini使分析成本降至每美元约200条。每条拟合存储完整Voigt参数、连续体系数和LLM推理链,可精确重建无需重新运行。Egent将传统需要专家数月的工作压缩到自动化分析的数天,实现巡天级等效宽度测量。我们提供开源代码,包括网页接口和本地LLM后端。
英文摘要:
We present Egent, an autonomous agent that combines classical multi-Voigt profile fitting with large language model (LLM) visual inspection and iterative refinement. The fitting engine is built from scratch with minimal dependencies, creating an ecosystem where the LLM can reason about fits through function calls--adjusting wavelength windows, adding blend components, modifying continuum treatment, and flagging problematic cases. Egent operates directly on raw flux spectra without requiring pre-normalized continua. We validate against manual measurements from human experts using 18,615 lines from the C3PO program across 84 Magellan/MIKE spectra at SNR~50-250. The raw agreement between Egent and expert measurements is MAD=5-7mA, without any post-hoc per-spectrum correction. Per-spectrum slopes of ~0.85-1.19 around unity reflect differences in global continuum methodology rather than fitting failures. The LLM's primary role is quality control: it confirms good fits (~60-65% of lines are LLM-refined and accepted), flags problematic cases (~10-20%), and occasionally rescues edge cases where tool use improves fits. Agreement between GPT-5 and GPT-5-mini confirms reproducibility, with GPT-5-mini enabling low-cost analysis at ~200 lines per US dollar. Every fit stores complete Voigt parameters, continuum coefficients, and LLM reasoning chains, enabling exact reconstruction without re-running. Egent compresses what traditionally requires months of expert effort into days of automated analysis, enabling survey-scale EW measurement. We provide open-source code at https://github.com/tingyuansen/Egent, including a web interface for drag-and-drop analysis and a local LLM backend for fully offline operation on consumer hardware.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。