paper-with-me

홈 › Papers

Safe-DS: A Domain Specific Language to Make Data Science Safe

2023-02-28 · Lars Reimann, Günter Kniesel-Wünsche

Due to the long runtime of Data Science (DS) pipelines, even small programming mistakes can be very costly, if they are not detected statically. However, even basic static type checking of DS pipelines is difficult because most are written in Python. Static typing is available in Python only via external linters. These require static type annotations for parameters or results of functions, which many DS libraries do not provide. In this paper, we show how the wealth of Python DS libraries can be used in a statically safe way via Safe-DS, a domain specific language (DSL) for DS. Safe-DS catches conventional type errors plus errors related to range restrictions, data manipulation, and call order of functions, going well beyond the abilities of current Python linters. Python libraries are integrated into Safe-DS via a stub language for specifying the interface of its declarations, and an API-Editor that is able to extract type information from the code and documentation of Python libraries, and automatically generate suitable stubs. Moreover, Safe-DS complements textual DS pipelines with a graphical representation that eases safe development by preventing syntax errors. The seamless synchronization of textual and graphic view lets developers always choose the one best suited for their skills and current task. We think that Safe-DS can make DS development easier, faster, and more reliable, significantly reducing development costs.

📄 PDF Abstract BibTeX arXiv:2302.14548

Code (1)

Safe-DS/DSL 공식 구현 pytorch

Tasks

Vocal Bursts Type Prediction

Similar Papers 제목 키워드 기반

Do We Really Need Curated Malicious Data for Safety Alignment in Multi-modal Large Language Models?

2025-04-14 · CVPR 2025 1 · Yanbo Wang, Jiyang Guan, Jian Liang, Ran He

Multi-modal large language models (MLLMs) have made significant progress, yet their safety alignment remains limited. Typically, current open-source MLLMs rely on the alignment inherited from their language module to avo…

Safety Alignment

Evaluating LLMs' Effectiveness on Real-World Consumer Device Repair Questions

2026-06-02 · Atm Mizanur Rahman, Md Arid Hasan, Syed Ishtiaque Ahmed, Sharifa Sultana arxiv

Consumer device repair is an important but underexplored testbed for large language models (LLMs). Repair tasks require reasoning over incomplete problem descriptions, hardware-specific diagnostics, actionable troublesho…

Safety Analysis in the Era of Large Language Models: A Case Study of STPA using ChatGPT

2023-04-03 · Yi Qi, Xingyu Zhao, Siddartha Khastgir, Xiaowei Huang

Can safety analysis make use of Large Language Models (LLMs)? A case study explores Systems Theoretic Process Analysis (STPA) applied to Automatic Emergency Brake (AEB) and Electricity Demand Side Management (DSM) system…

ManagementPrompt Engineering

EvoSafeHarness: Evolving Model- and Domain-Specific Harnesses for Securing Agents

2026-09-05 · Nanxi Li, Yingzi Ma, Yulong Cao, Edward Suh 외 hf

Large Language Model (LLM) agents are turning language into real-world effects, making safety necessary against both indirect prompt injections and direct harmful requests. System-level safety harnesses add an enforcemen…

TrafficSafetyGPT: Tuning a Pre-trained Large Language Model to a Domain-Specific Expert in Transportation Safety

2023-07-28 · Ou Zheng, Mohamed Abdel-Aty, Dongdong Wang, Chenzhu Wang 외

Large Language Models (LLMs) have shown remarkable effectiveness in various general-domain natural language processing (NLP) tasks. However, their performance in transportation safety domain tasks has been suboptimal, pr…

2kLanguage ModelingLanguage ModellingLarge Language Model