arXiv.itsnick.co

an independent field guide to 23 million papers from arXiv & OpenAlex — not affiliated with arXiv.org

Author

Isak Samsten

9 papers · 2019–2025

2019: 12020: 02021: 12022: 12023: 32024: 22025: 1
2019peak 3 in 20232025

Frequent co-authors

Papers

showing 1–9 of 9 RSS

Glacier: guided locally constrained counterfactual explanations for time series classification

Zhendong Wang, Isak Samsten, Ioanna Miliou +2 more

Signal Processing · Machine Learning · · cited 14× · DOI ↗ · more like this ·

Abstract In machine learning applications, there is a need to obtain predictive models of high performance and, most importantly, to allow end-users and practitioners to understand and act on their predictions. One way to obtain such understanding is via counterfactuals, that provide sample-based explanations in the form of recommendations on which features need to be modified from a test example so that the classification outcome of a given classifier changes from an undesired outcome to a desired one. This paper focuses on the domain of time series classification, more specifically, on defining counterfactual explanations for univariate time series. We propose , a model-agnostic method for generating locally-constrained counterfactual explanations for time series classification using gradient search either on the original space or on a latent space that is learned through an…

Post Hoc Explainability for Time Series Classification: Toward a signal processing perspective

Rami Mochaourab, Arun Venkitaraman, Isak Samsten +2 more

Signal Processing · IEEE Signal Processing Magazine · · cited 13× · DOI ↗ · more like this ·

Time series data correspond to observations of phenomena that are recorded over time <xref ref-type="bibr" rid="ref1" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">[1]</xref> . Such data are encountered regularly in a wide range of applications, such as speech and music recognition, monitoring health and medical diagnosis, financial analysis, motion tracking, and shape identification, to name a few. With such a diversity of applications and the large variations in their characteristics, time series classification is a complex and challenging task. One of the fundamental steps in the design of time series classifiers is that of defining or constructing the <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">discriminant features</i> that help differentiate between classes. This is typically achieved…

Assessing the Clinical Validity of Attention-based and SHAP Temporal Explanations for Adverse Drug Event Predictions

Jonathan Rebane, Isak Samsten, Panteleimon Pantelidis +1 more

Artificial Intelligence · · cited 12× · DOI ↗ · more like this ·

Attention mechanisms form the basis of providing temporal explanations for a variety of state-of-the-art recurrent neural network (RNN) based architectures. However, evidence is lacking that attention mechanisms are capable of providing sufficiently valid medical explanations. In this study we focus on the quality of temporal explanations for the medical problem of adverse drug event (ADE) prediction by comparing explanations globally and locally provided by an attention-based RNN architecture against those provided by more a more basic RNN using the post-hoc SHAP framework, a popular alternative option which adheres to several desirable explainability properties. The validity of this comparison is supported by medical expert knowledge gathered for the purpose of this study. This investigation has uncovered that these explanation methods both possess appropriateness for ADE explanations…

Example-Based Feature Tweaking Using Random Forests

Tony Lindgren, Panagiotis Papapetrou, Isak Samsten +1 more

Artificial Intelligence · · cited 3× · DOI ↗ · more like this ·

In certain application areas when using predictive models, it is not enough to make an accurate prediction for an example, instead it might be more important to change a prediction from an undesired class into a desired class. In this paper we investigate methods for changing predictions of examples. To this end, we introduce a novel algorithm for changing predictions of examples and we compare this novel method to an existing method and a baseline method. In an empirical evaluation we compare the three methods on a total of 22 datasets. The results show that the novel method and the baseline method can change an example from an undesired class into a desired class in more cases than the competitor method (and in some cases this difference is statistically significant). We also show that the distance, as measured by the euclidean norm, is higher for the novel and baseline methods (and…

Distributional Data Augmentation Methods for Low Resource Language

Mosleh Mahamud, Zed Lee, Isak Samsten

cs.CL · · cited 1× · arXiv ↗ · more like this ·

Text augmentation is a technique for constructing synthetic data from an under-resourced corpus to improve predictive performance. Synthetic data generation is common in numerous domains. However, recently text augmentation has emerged in natural language processing (NLP) to improve downstream tasks. One of the current state-of-the-art text augmentation techniques is easy data augmentation (EDA), which augments the training data by injecting and replacing synonyms and randomly permuting sentences. One major obstacle with EDA is the need for versatile and complete synonym dictionaries, which cannot be easily found in low-resource languages. To improve the utility of EDA, we propose two extensions, easy distributional data augmentation (EDDA) and type specific similar word replacement (TSSR), which uses semantic word context information and part-of-speech tags for word replacement and…

Addressing the Exception Prioritization Problem in Continuous Auditing Systems With Thresholding

Jan Svanberg, Peter Öhman, Isak Samsten +3 more

Statistics and Probability · Intelligent systems in accounting, finance and management/Intelligent systems in accounting, finance & management · · cited 0× · DOI ↗ · more like this ·

ABSTRACT Continuous auditing research has grappled with the challenge of managing the abundance of detected exceptions in internal audit applications for the past 30 years. A key issue in continuous auditing involves the uncontrolled proliferation of exceptions, where the sheer volume makes manual follow‐up impractical, undermining the viability of the technology. The root cause of this problem is the combination of strong class imbalance and the predominant rule‐based systems design. Prior investigations have attempted ad hoc remedies like introducing additional layers to prioritize the most suspicious exceptions or aggregating data. Currently, there is no universal method to address this prioritization challenge, leaving internal auditors without a means to focus specifically on exceptions most likely to represent genuine faults. Our research explores the origin of this prioritization…

Castor: Competing shapelets for fast and accurate time series classification

Isak Samsten, Zed Lee

cs.LG · · cited 0× · arXiv ↗ · more like this ·

Shapelets are discriminative subsequences, originally embedded in shapelet-based decision trees but have since been extended to shapelet-based transformations. We propose Castor, a simple, efficient, and accurate time series classification algorithm that utilizes shapelets to transform time series. The transformation organizes shapelets into groups with varying dilation and allows the shapelets to compete over the time context to construct a diverse feature representation. By organizing the shapelets into groups, we enable the transformation to transition between levels of competition, resulting in methods that more closely resemble distance-based transformations or dictionary-based transformations. We demonstrate, through an extensive empirical investigation, that Castor yields transformations that result in classifiers that are significantly more accurate than several state-of-the-art…

Code quality assessment using transformers

Mosleh Mahamud, Isak Samsten

cs.CL · · cited 0× · arXiv ↗ · more like this ·

Automatically evaluate the correctness of programming assignments is rather straightforward using unit and integration tests. However, programming tasks can be solved in multiple ways, many of which, although correct, are inelegant. For instance, excessive branching, poor naming or repetitiveness make the code hard to understand and maintain. These subjective qualities of code are hard to automatically assess using current techniques. In this work we investigate the use of CodeBERT to automatically assign quality score to Java code. We experiment with different models and training paradigms. We explore the accuracy of the models on a novel dataset for code quality assessment. Finally, we assess the quality of the predictions using saliency maps. We find that code quality to some extent is predictable and that transformer based models using task adapted pre-training can solve the task…

Counterfactual Explanations for Time Series Forecasting

Zhendong Wang, Ioanna Miliou, Isak Samsten +1 more

cs.LG · · arXiv ↗ · more like this ·

Among recent developments in time series forecasting methods, deep forecasting models have gained popularity as they can utilize hidden feature patterns in time series to improve forecasting performance. Nevertheless, the majority of current deep forecasting models are opaque, hence making it challenging to interpret the results. While counterfactual explanations have been extensively employed as a post-hoc approach for explaining classification models, their application to forecasting models still remains underexplored. In this paper, we formulate the novel problem of counterfactual generation for time series forecasting, and propose an algorithm, called ForecastCF, that solves the problem by applying gradient-based perturbations to the original time series. ForecastCF guides the perturbations by applying constraints to the forecasted values to obtain desired prediction outcomes. We…