EDBT 2026 Demo / reviewers in the wild / expert
Tomi Janhunen
dblp:j/TomiJanhunen
· DBLP profile ↗
69ranked-venue papers
23as first author
12since 2021 · last 2025
0000-0002-2029-7708ORCID · verified
Domains — the database's venue-derived domains; a paper can count in several
Artificial intelligence and machine learning · 50 · 18 first-author · 6 since 2021Theory of computation · 39 · 13 first-author · 4 since 2021Graphics, computer vision, multimedia, augmented reality and games · 14 · 5 first-author · 2 since 2021Software engineering, systems software and programming languages · 13 · 4 first-author · 5 since 2021
| Year | Publication | Venue | Position |
|---|---|---|---|
| 2025 | Explainability via Short Formulas: the Case of Propositional Logic with ImplementationabstractWe conceptualize explainability in terms of logic and formula size, giving a number of related definitions of explainability in a very general setting. Our main interest is the so-called local explanation problem which aims to explain the truth value of an input formula in an input model. The explanation is a formula of minimal size that (1) obtains the same truth value as the input formula on the input model and (2) transmits that truth value to the input formula globally, i.e., on every model. As an important example case, we study propositional logic in this setting and show that the local explainability problem is complete for the second level of the polynomial hierarchy. The hardness result holds already for DNF-formulas. We also give parameterized versions of these problems leading to NP-completeness. The generality of our definitions allows us to lift complexity results also, e.g., to S5 modal logic and ensembles of decision trees. We also provide an implementation in answer set programming and investigate its capacity in relation to explaining answers to the n-queens and dominating set problems. Furthermore, we give an example of explaining the behavior of a black-box classifier. Reijo Jaakkola, Tomi Janhunen, Antti Kuusisto, Masood Feyzbakhsh Rankooh, Miikka Vilander |
J. Artif. Intell. Res. | 2 |
| 2025 | Plingo: A System for Probabilistic Reasoning in Answer Set ProgrammingabstractAbstract We present plingo, an extension of the answer set programming (ASP) system clingo that incorporates various probabilistic reasoning modes. Plingo is based on $\textit{Lpmln}^{\pm }$ , a simple variant of the probabilistic language Lpmln, which follows a weighted scheme derived from Markov logic. This choice is motivated by the fact that the main probabilistic reasoning modes can be mapped onto enumeration and optimization problems and that $\textit{Lpmln}^{\pm }$ may serve as a middle-ground formalism connecting to other probabilistic approaches. Plingo offers three alternative frontends, for Lpmln, P-log, and ProbLog. These input languages and reasoning modes are implemented by means of clingo’s multi-shot and theory-solving capabilities. In this way, the core of plingo is an implementation of $\textit{Lpmln}^{\pm }$ in terms of modern ASP technology. On top of that, plingo implements a new approximation technique based on a recent method for answer set enumeration in the order of optimality. Additionally, in this work, we introduce a novel translation from $\textit{Lpmln}^{\pm }$ to ProbLog. This leads to a new solving method in plingo where the input program is translated and a ProbLog solver is executed. Our empirical evaluation shows that the different solving approaches of plingo are complementary and that plingo performs similarly to other probabilistic reasoning systems. Susana Hahn, Tomi Janhunen, Roland Kaminski, Javier Romero 0003, Nicolas Rühling, Torsten Schaub |
Theory Pract. Log. Program. | 2 |
| 2024 | Improved Encodings of Acyclicity for Translating Answer Set Programming into Integer Programming
Masood Feyzbakhsh Rankooh, Tomi Janhunen |
IJCAI | 2 |
| 2024 | Capturing (Optimal) Relaxed Plans with Stable and Supported Models of Logic Programs (Extended Abstract)
Masood Feyzbakhsh Rankooh, Tomi Janhunen |
IJCAI | 2 |
| 2023 | Short Boolean Formulas as Explanations in PracticeabstractAbstract We investigate explainability via short Boolean formulas in the data model based on unary relations. As an explanation of lengthk, we take a Boolean formula of lengthkthat minimizes the error with respect to the target attribute to be explained. We first provide novel quantitative bounds for the expected error in this scenario. We then also demonstrate how the setting works in practice by studying three concrete data sets. In each case, we calculate explanation formulas of different lengths using an encoding in Answer Set Programming. The most accurate formulas we obtain achieve errors similar to other methods on the same data sets. However, due to overfitting, these formulas are not necessarily ideal explanations, so we use cross validation to identify a suitable length for explanations. By limiting to shorter formulas, we obtain explanations that avoid overfitting but are still reasonably accurate and also, importantly, human interpretable. Reijo Jaakkola, Tomi Janhunen, Antti Kuusisto, Masood Feyzbakhsh Rankooh, Miikka Vilander |
JELIA | 2 |
| 2023 | Pruning Redundancy in Answer Set Optimization Applied to Preventive Maintenance Scheduling
Anssi Yli-Jyrä, Masood Feyzbakhsh Rankooh, Tomi Janhunen |
PADL | 3 |
| 2023 | Capturing (Optimal) Relaxed Plans with Stable and Supported Models of Logic ProgramsabstractAbstract We establish a novel relation between delete-free planning, an important task for the AI planning community also known as relaxed planning, and logic programming. We show that given a planning problem, all subsets of actions that could be ordered to produce relaxed plans for the problem can be bijectively captured with stable models of a logic program describing the corresponding relaxed planning problem. We also consider the supported model semantics of logic programs, and introduce one causal and one diagnostic encoding of the relaxed planning problem as logic programs, both capturing relaxed plans with their supported models. Our experimental results show that these new encodings can provide major performance gain when computing optimal relaxed plans, with our diagnostic encoding outperforming state-of-the-art approaches to relaxed planning regardless of the given time limit when measured on a wide collection of STRIPS planning benchmarks. Masood Feyzbakhsh Rankooh, Tomi Janhunen |
Theory Pract. Log. Program. | 2 |
| 2022 | Efficient Computation of Answer Sets via SAT Modulo Acyclicity and Vertex Elimination
Masood Feyzbakhsh Rankooh, Tomi Janhunen |
LPNMR | 2 |
| 2022 | Implementing Stable-Unstable Semantics with ASPTOOLS and Clingo
Tomi Janhunen |
PADL | 1 |
| 2021 | On Syntactic Forgetting Under Uniform Equivalence
Ricardo Gonçalves 0001, Tomi Janhunen, Matthias Knorr 0001, João Leite 0001 |
JELIA | 2 |
| 2021 | On neighbourhood singleton-style consistencies for qualitative spatial and temporal reasoning
Michael Sioutis, Anastasia Paparrizou, Tomi Janhunen |
Inf. Comput. | 3 |
| 2021 | Solution Enumeration by Optimality in Answer Set ProgrammingabstractAbstract Given a combinatorial search problem, it may be highly useful to enumerate its (all) solutions besides just finding one solution, or showing that none exists. The same can be stated about optimal solutions if an objective function is provided. This work goes beyond the bare enumeration of optimal solutions and addresses the computational task of solution enumeration by optimality (SEO). This task is studied in the context of answer set programming (ASP) where (optimal) solutions of a problem are captured with the answer sets of a logic program encoding the problem. Existing answer set solvers already support the enumeration of all (optimal) answer sets. However, in this work, we generalize the enumeration of optimal answer sets beyond strictly optimal ones, giving rise to the idea of answer set enumeration in the order of optimality (ASEO). This approach is applicable up to the best k answer sets or in an unlimited setting, which amounts to a process of sorting answer sets based on the objective function. As the main contribution of this work, we present the first general algorithms for the aforementioned tasks of answer set enumeration. Moreover, we illustrate the potential use cases of ASEO. First, we study how efficiently access to the next-best solutions can be achieved in a number of optimization problems that have been formalized and solved in ASP. Second, we show that ASEO provides us with an effective sampling technique for Bayesian networks. Jukka Pajunen, Tomi Janhunen |
Theory Pract. Log. Program. | 2 |
| 2020 | On Robustness in Qualitative Constraint NetworksabstractWe introduce and study a notion of robustness in Qualitative Constraint Networks (QCNs), which are typically used to represent and reason about abstract spatial and temporal information. In particular, given a QCN, we are interested in obtaining a robust qualitative solution, or, a robust scenario of it, which is a satisfiable scenario that has a higher perturbation tolerance than any other, or, in other words, a satisfiable scenario that has more chances than any other to remain valid after it is altered. This challenging problem requires to consider the entire set of satisfiable scenarios of a QCN, whose size is usually exponential in the number of constraints of that QCN; however, we present a first algorithm that is able to compute a robust scenario of a QCN using linear space in the number of constraints. Preliminary results with a dataset from the job-shop scheduling domain, and a standard one, show the interest of our approach and highlight the fact that not all solutions are created equal. Michael Sioutis, Zhiguo Long, Tomi Janhunen |
IJCAI | 3 |
| 2020 | Declarative encodings of acyclicity propertiesabstractAbstract Many knowledge representation tasks involve trees or similar structures as abstract datatypes. However, devising compact and efficient declarative representations of such structural properties is non-obvious and can be challenging indeed. In this article, we take a number of acyclicity properties into consideration and investigate various logic-based approaches to encode them. We use answer set programming as the primary representation language but also consider mappings to related formalisms, such as propositional logic, difference logic and linear programming. We study the compactness of encodings and the resulting computational performance on benchmarks involving acyclic or tree structures. Martin Gebser, Tomi Janhunen, Jussi Rintanen |
J. Log. Comput. | 2 |
| 2020 | Applying Visible Strong Equivalence in Answer-Set Program TransformationsabstractStrong equivalence is one of the basic notions of equivalence that have been proposed for logic programs subject to the answer-set semantics. In this article, we propose a new generalization of strong equivalence (SE) that takes the visibility of atoms into account and we characterize it in terms of appropriately revised SE-models. Our design resembles (relativized) strong equivalence but is substantially different due to adopting a strict one-to-one correspondence of models from the notion of visible equivalence. We additionally tailor the characterization for more convenient use with positive programs and provide formal tools to exploit the tailored version also in the case of some programs that use negation. We illustrate the use of visible strong equivalence and the characterizations in showing the correctness of program transformations that make use of atom visibility. Moreover, we present a translation that enables us to automate the task of verifying visible strong equivalence for particular fragments of answer-set programs. We experimentally study the efficiency of verification when the goal is to check whether an extended rule is visibly strongly equivalent to its normalization, i.e., a subprogram expressing the original rule in terms of normal rules only. In the process, we verify the outputs of several real implementations of normalization schemes on a considerable number of input rules. Jori Bomanson, Tomi Janhunen, Ilkka Niemelä |
ACM Trans. Comput. Log. | 2 |
| 2020 | Boosting Answer Set Optimization with Weighted Comparator NetworksabstractAbstract Answer set programming (ASP) is a paradigm for modeling knowledge-intensive domains and solving challenging reasoning problems. In ASP solving, a typical strategy is to preprocess problem instances by rewriting complex rules into simpler ones. Normalization is a rewriting process that removes extended rule types altogether in favor of normal rules. Recently, such techniques led to optimization rewriting in ASP, where the goal is to boost answer set optimization by refactoring the optimization criteria of interest. In this paper, we present a novel, general, and effective technique for optimization rewriting based on comparator networks which are specific kinds of circuits for reordering the elements of vectors. The idea is to connect an ASP encoding of a comparator network to the literals being optimized and to redistribute the weights of these literals over the structure of the network. The encoding captures information about the weight of an answer set in auxiliary atoms in a structured way that is proven to yield exponential improvements during branch-and-bound optimization on an infinite family of example programs. The used comparator network can be tuned freely, for example, to find the best size for a given benchmark class. Experiments show accelerated optimization performance on several benchmark problems. Jori Bomanson, Tomi Janhunen |
Theory Pract. Log. Program. | 2 |
| 2019 | Forgetting in Modular Answer Set ProgrammingabstractModular programming facilitates the creation and reuse of large software, and has recently gathered considerable interest in the context of Answer Set Programming (ASP). In this setting, forgetting, or the elimination of middle variables no longer deemed relevant, is of importance as it allows one to, e.g., simplify a program, make it more declarative, or even hide some of its parts without affecting the consequences for those parts that are relevant. While forgetting in the context of ASP has been extensively studied, its known limitations make it unsuitable to be used in Modular ASP. In this paper, we present a novel class of forgetting operators and show that such operators can always be successfully applied in Modular ASP to forget all kinds of atoms – input, output and hidden – overcoming the impossibility results that exist for general ASP. Additionally, we investigate conditions under which this class of operators preserves the module theorem in Modular ASP, thus ensuring that answer sets of modules can still be composed, and how the module theorem can always be preserved if we further allow the reconfiguration of modules. Ricardo Gonçalves 0001, Tomi Janhunen, Matthias Knorr 0001, João Leite 0001, Stefan Woltran |
AAAI | 2 |
| 2019 | Enhancing Lazy Grounding with Lazy Normalization in Answer-Set ProgrammingabstractAnswer-Set Programming (ASP) is an expressive rule-based knowledge-representation formalism. Lazy grounding is a solving technique that avoids the well-known grounding bottleneck of traditional ASP evaluation but is restricted to normal rules, severely limiting its expressive power. In this work, we introduce a framework to handle aggregates by normalizing them on demand during lazy grounding, hence relieving the restrictions of lazy grounding significantly. We term our approach as lazy normalization and demonstrate its feasibility for different types of aggregates. Asymptotic behavior is analyzed and correctness of the presented lazy normalizations is shown. Benchmark results indicate that lazy normalization can bring up-to exponential gains in space and time as well as enable ASP to be used in new application areas. Jori Bomanson, Tomi Janhunen, Antonius Weinzierl |
AAAI | 2 |
| 2019 | The Return of xorro
Flavio Everardo, Tomi Janhunen, Roland Kaminski, Torsten Schaub |
LPNMR | 2 |
| 2019 | On the Utility of Neighbourhood Singleton-Style Consistencies for Qualitative Constraint-Based Spatial and Temporal ReasoningabstractA singleton-style consistency is a local consistency that verifies if each base relation (atom) of each constraint of a qualitative constraint network (QCN) can serve as a support with respect to the closure of that network under a (naturally) weaker local consistency. This local consistency is essential for tackling fundamental reasoning problems associated with QCNs, such as the satisfiability checking or the minimal labeling problem, but can suffer from redundant constraint checks, especially when those checks occur far from where the pruning usually takes place. In this paper, we propose singleton-style consistencies that are applied just on the neighbourhood of a singleton-checked constraint instead of the whole network. We make a theoretical comparison with existing consistencies and consequently prove some properties of the new ones. In addition, we propose algorithms to enforce our consistencies, as well as parsimonious variants thereof, that are more efficient in practice than the state of the art. We make an experimental evaluation with random and structured QCNs of Interval Algebra in the phase transition region to demonstrate the potential of our approach. Michael Sioutis, Anastasia Paparrizou, Tomi Janhunen |
TIME | 3 |
| 2018 | Variable Elimination for DLP-Functions
Ricardo Gonçalves 0001, Tomi Janhunen, Matthias Knorr 0001, João Leite 0001, Stefan Woltran |
KR | 2 |
| 2018 | Towards Lazy Grounding with Lazy Normalization in Answer-Set Programming - Extended Abstract
Jori Bomanson, Tomi Janhunen, Antonius Weinzierl |
KR | 2 |
| 2017 | Clingo goes linear constraints over reals and integersabstractAbstract The recent series 5 of the Answer Set Programming (ASP) system clingo provides generic means to enhance basic ASP with theory reasoning capabilities. We instantiate this framework with different forms of linear constraints and elaborate upon its formal properties. Given this, we discuss the respective implementations, and present techniques for using these constraints in a reactive context. More precisely, we introduce extensions to clingo with difference and linear constraints over integers and reals, respectively, and realize them in complementary ways. Finally, we empirically evaluate the resulting clingo derivatives clingo [ dl ] and clingo [ lp ] on common language fragments and contrast them to related ASP systems. Tomi Janhunen, Roland Kaminski, Max Ostrowski, Sebastian Schellhorn, Philipp Wanko, Torsten Schaub |
Theory Pract. Log. Program. | 1 |
| 2016 | SAT-to-SAT: Declarative Extension of SAT Solvers with New PropagatorsabstractSpecial-purpose propagators speed up solving logic programs by inferring facts that are hard to deduce otherwise. However, implementing special-purpose propagators is a non-trivial task and requires expert knowledge of solvers. This paper proposes a novel approach in logic programming that allows (1) logical specification of both the problem itself and its propagators and (2) automatic incorporation of such propagators into the solving process. We call our proposed language P[R] and our solver SAT-to-SAT because it facilitates communication between several SAT solvers. Using our proposal, non-specialists can specify new reasoning methods (propagators) in a declarative fashion and obtain a solver that benefits from both state-of-the-art techniques implemented in SAT solvers as well as problem-specific reasoning methods that depend on the problem's structure. We implement our proposal and show that it outperforms the existing approach that only allows modeling a problem but does not allow modeling the reasoning methods for that problem. Tomi Janhunen, Shahab Tasharrofi, Eugenia Ternovska |
AAAI | 1 |
| 2016 | Writing Declarative Specifications for Clauses
Martin Gebser, Tomi Janhunen, Roland Kaminski, Torsten Schaub, Shahab Tasharrofi |
JELIA | 2 |
| 2016 | Declarative Solver Development: Case Studies
Bart Bogaerts 0001, Tomi Janhunen, Shahab Tasharrofi |
KR | 2 |
| 2016 | Answer Set Programming Modulo AcyclicityabstractAcyclicity constraints are prevalent in knowledge representation and applications where acyclic data structures such as DAGs and trees play a role. Recently, such constraints have been considered in the satisfiability modulo theories (SMT) framework, and in this paper we carry out an analogous exte nsion to the answer set programming (ASP) paradigm. The resulting formalism, ASP modulo acyclicity, offers a rich set of primitives to express constraints related to recursive structures. In the technical results of the paper, we relate the new generalization with standard ASP by showing (i) how acyclicity extensions translate into normal rules, (ii) how weight constraint programs can be instrumented by acyclicity extensions to capture stability in analogy to unfounded set checking, and (iii) how the gap between supported and stable models is effectively closed in the presence of such an extension. Moreover, we present an efficient implementation of acyclicity constraints by incorporating a respective propagator into the state-of-the-art ASP solver CLASP. The implementation provides a unique combination of traditional unfounded set checking with acyclicity propagation. In the experimental part, we evaluate the interplay of these orthogonal checks by equipping logic programs with supplementary acyclicity constraints. The performance results show that native support for acyclicity constraints is a worthwhile addition, furnishing a complementary modeling construct in ASP itself as well as effective means for translation-based ASP solving. Jori Bomanson, Martin Gebser, Tomi Janhunen, Benjamin Kaufmann, Torsten Schaub |
Fundam. Informaticae | 3 |
| 2016 | Stable-unstable semantics: Beyond NP with normal logic programsabstractAbstract Standard answer set programming (ASP) targets at solving search problems from the first level of the polynomial time hierarchy (PH). Tackling search problems beyond NP using ASP is less straightforward. The class of disjunctive logic programs offers the most prominent way of reaching the second level of the PH, but encoding respective hard problems as disjunctive programs typically requires sophisticated techniques such as saturation or meta-interpretation. The application of such techniques easily leads to encodings that are inaccessible to non-experts. Furthermore, while disjunctive ASP solvers often rely on calls to a (co-)NP oracle, it may be difficult to detect from the input program where the oracle is being accessed. In other formalisms, such as Quantified Boolean Formulas (QBFs), the interface to the underlying oracle is more transparent as it is explicitly recorded in the quantifier prefix of a formula. On the other hand, ASP has advantages over QBFs from the modeling perspective. The rich high-level languages such as ASP-Core-2 offer a wide variety of primitives that enable concise and natural encodings of search problems. In this paper, we present a novel logic programming–based modeling paradigm that combines the best features of ASP and QBFs. We develop so-calledcombined logic programsin which oracles are directly cast as (normal) logic programs themselves. Recursive incarnations of this construction enable logic programming on arbitrarily high levels of the PH. We develop a proof-of-concept implementation for our new paradigm. Bart Bogaerts 0001, Tomi Janhunen, Shahab Tasharrofi |
Theory Pract. Log. Program. | 2 |
| 2015 | Answer Set Programming Modulo Acyclicity
Jori Bomanson, Martin Gebser, Tomi Janhunen, Benjamin Kaufmann, Torsten Schaub |
LPNMR | 3 |
| 2015 | ASP Solving for Expanding Universes
Martin Gebser, Tomi Janhunen, Holger Jost, Roland Kaminski, Torsten Schaub |
LPNMR | 2 |
| 2015 | Optimizing phylogenetic supertrees using answer set programmingabstractAbstract The supertree construction problem is about combining several phylogenetic trees with possibly conflicting information into a single tree that has all the leaves of the source trees as its leaves and the relationships between the leaves are as consistent with the source trees as possible. This leads to an optimization problem that is computationally challenging and typically heuristic methods, such as matrix representation with parsimony (MRP), are used. In this paper we consider the use of answer set programming to solve the supertree construction problem in terms of two alternative encodings. The first is based on an existing encoding of trees using substructures known as quartets, while the other novel encoding captures the relationships present in trees through direct projections. We use these encodings to compute a genus-level supertree for the family of cats (Felidae). Furthermore, we compare our results to recent supertrees obtained by the MRP method. Laura Koponen, Emilia Oikarinen, Tomi Janhunen, Laura Säilä |
Theory Pract. Log. Program. | 3 |
| 2014 | Answer Set Programming as SAT modulo AcyclicityabstractAnswer set programming (ASP) is a declarative programming paradigm for solving search problems arising in knowledge-intensive domains. One viable way to implement the computation of answer sets corresponding to problem solutions is to recast a logic program as a Boolean satisfiability (SAT) problem and to use existing SAT solver technology for the actual search. Such mappings can be obtained by augmenting Clark's completion with constraints guaranteeing the strong justifiability of answer sets. To this end, we consider an extension of SAT by graphs subject to an acyclicity constraint, called SAT modulo acyclicity. We devise a linear embedding of logic programs and study the performance of answer set computation with SAT modulo acyclicity solvers. Martin Gebser, Tomi Janhunen, Jussi Rintanen |
ECAI | 2 |
| 2014 | Improving the Normalization of Weight Rules in Answer Set Programs
Jori Bomanson, Martin Gebser, Tomi Janhunen |
JELIA | 3 |
| 2014 | SAT Modulo Graphs: Acyclicity
Martin Gebser, Tomi Janhunen, Jussi Rintanen |
JELIA | 2 |
| 2014 | ASP Encodings of Acyclicity Properties
Martin Gebser, Tomi Janhunen, Jussi Rintanen |
KR | 2 |
| 2013 | Normalizing Cardinality Rules Using Merging and Sorting Constructions
Jori Bomanson, Tomi Janhunen |
LPNMR | 2 |
| 2013 | Learning Chordal Markov Networks by Constraint SatisfactionabstractWe investigate the problem of learning the structure of a Markov network from data. It is shown that the structure of such networks can be described in terms of constraints which enables the use of existing solver technology with optimization capabilities to compute optimal networks starting from initial scores computed from the data. To achieve efficient encodings, we develop a novel characterization of Markov network structure using a balancing condition on the separators between cliques forming the network. The resulting translations into propositional satisfiability and its extensions such as maximum satisfiability, satisfiability modulo theories, and answer set programming, enable us to prove the optimality of networks which have been previously found by stochastic search. Jukka Corander, Tomi Janhunen, Jussi Rintanen, Henrik J. Nyman, Johan Pensar |
NIPS | 2 |
| 2012 | Answer Set Programming via Mixed Integer Programming
Tomi Janhunen, Ilkka Niemelä |
KR | 2 |
| 2011 | Random vs. Structure-Based Testing of Answer-Set Programs: An Experimental Comparison
Tomi Janhunen, Ilkka Niemelä, Johannes Oetsch, Jörg Pührer, Hans Tompits |
LPNMR | 1 |
| 2011 | Strong Equivalence of Logic Programs with Abstract Constraint Atoms
Randy Goebel, Tomi Janhunen, Ilkka Niemelä, Jia-Huai You |
LPNMR | 3 |
| 2010 | On Testing Answer-Set ProgramsabstractAnswer-set programming (ASP) is a well-acknowledged paradigm for declarative problem solving, yet comparably little effort has been spent on the investigation of methods to support the development of answer-set programs. In particular, systematic testing of programs, constituting an integral part of conventional software development, has not been discussed for ASP thus far. In this paper, we fill this gap and develop notions enabling the structural testing of answer-set programs, i.e., we address testing based on test cases that are chosen with respect to the internal structure of a given answer-set program. More specifically, we introduce different notions of coverage that measure to what extent a collection of test inputs covers certain important structural components of the program. In particular, we introduce metrics corresponding to path and branch coverage from conventional testing. We also discuss complexity aspects of the considered notions and give strategies how test inputs that yield increasing (up to total) coverage can be automatically generated. Tomi Janhunen, Ilkka Niemelä, Johannes Oetsch, Jörg Pührer, Hans Tompits |
ECAI | 1 |
| 2009 | Computing Stable Models via Reductions to Difference Logic
Tomi Janhunen, Ilkka Niemelä, Mark Sevalnev |
LPNMR | 1 |
| 2009 | A Module-Based Framework for Multi-language Constraint Modeling
Matti Järvisalo, Emilia Oikarinen, Tomi Janhunen, Ilkka Niemelä |
LPNMR | 3 |
| 2009 | Modularity Aspects of Disjunctive Stable ModelsabstractPractically all programming languages allow the programmer to split a program into several modules which brings along several advantages in software development. In this paper, we are interested in the area of answer-set programming where fully declarative and nonmonotonic languages are applied. In this context, obtaining a modular structure for programs is by no means straightforward since the output of an entire program cannot in general be composed from the output of its components. To better understand the effects of disjunctive information on modularity we restrict the scope of analysis to the case of disjunctive logic programs (DLPs) subject to stable-model semantics. We define the notion of a DLP-function, where a well-defined input/output interface is provided, and establish a novel module theorem which indicates the compositionality of stable-model semantics for DLP-functions. The module theorem extends the well-known splitting-set theorem and enables the decomposition of DLP-functions given their strongly connected components based on positive dependencies induced by rules. In this setting, it is also possible to split shared disjunctive rules among components using a generalized shifting technique. The concept of modular equivalence is introduced for the mutual comparison of DLP-functions using a generalization of a translation-based verification method. Tomi Janhunen, Emilia Oikarinen, Hans Tompits, Stefan Woltran |
J. Artif. Intell. Res. | 1 |
| 2009 | A Translation-based Approach to the Verification of Modular EquivalenceabstractThe goal of this article is to foster modular program development in answer set programming using a Gaifman-Shapiro-style module architecture. More specifically, a method for verifying the equivalence of logic program modules is devised and proved correct. The idea is to adapt a translation-based verification technique, which was originally devised for complete programs only, for program modules. In addition, optimization strategies are addressed in order to exploit the modular structure of programs in verification tasks. A number of experiments on verification strategies are also conducted using lpeq which implements the verification method for the smodels system. The preliminary experimental results reported in this article suggest that the modularization of equivalence verification leads to potential time savings especially if the modules involved share a common context. Emilia Oikarinen, Tomi Janhunen |
J. Log. Comput. | 2 |
| 2008 | Modular Equivalence in GeneralabstractThe notion of modular equivalence was recently introduced in the context of a module architecture proposed for logic programs under answer set semantics [12, 6, 13]. In this paper, the module architecture is abstracted for arbitrary knowledge bases, KB-functions for short, giving rise to a universal notion of modular equivalence. A further objective of this paper is to study modular equivalence in the contexts of SAT-functions, i.e., propositional theories with a module interface, and their logic programming counterpart, known as LP-functions [6]. As regards SAT-functions, we establish the full compositionality of classical semantics. This proves modular equivalence a proper congruence relation for SAT-functions. Moreover, we address the interoperability of SAT-functions and LP-functions in terms of strongly faithful transformations in both directions. These considerations justify the proposed design of KB-functions in general and pave the way for hybrid KB-functions. Tomi Janhunen |
ECAI | 1 |
| 2008 | Removing Redundancy from Answer Set Programs
Tomi Janhunen |
ICLP | 1 |
| 2008 | Achieving compositionality of the stable model semantics for smodels programsabstractAbstract In this paper, a Gaifman–Shapiro-style module architecture is tailored to the case of smodels programs under the stable model semantics. The composition of smodels program modules is suitably limited by module conditions which ensure the compatibility of the module system with stable models. Hence the semantics of an entire smodels program depends directly on stable models assigned to its modules. This result is formalized as a module theorem which truly strengthens V. Lifschitz and H. Turner's splitting-set theorem (June 1994, Splitting a logic program. In Logic Programming: Proceedings of the Eleventh International Conference on Logic Programming, Santa Margherita Ligure, Italy, P. V. Hentenryck, Ed. MIT Press, 23–37) for the class of smodels programs. To streamline generalizations in the future, the module theorem is first proved for normal programs and then extended to cover smodels programs using a translation from the latter class of programs to the former class. Moreover, the respective notion of module-level equivalence, namely modular equivalence, is shown to be a proper congruence relation: it is preserved under substitutions of modules that are modularly equivalent. Principles for program decomposition are also addressed. The strongly connected components of the respective dependency graph can be exploited in order to extract a module structure when there is no explicit a priori knowledge about the modules of a program. The paper includes a practical demonstration of tools that have been developed for automated (de)composition of smodels programs. Emilia Oikarinen, Tomi Janhunen |
Theory Pract. Log. Program. | 2 |
| 2007 | A Linear Transformation from Prioritized Circumscription to Disjunctive Logic Programming
Emilia Oikarinen, Tomi Janhunen |
ICLP | 2 |
| 2007 | Modularity Aspects of Disjunctive Stable Models
Tomi Janhunen, Emilia Oikarinen, Hans Tompits, Stefan Woltran |
LPNMR | 1 |
| 2007 | Automated Verification of Weak Equivalence within the SMODELS SystemabstractAbstract In answer set programming (ASP), a problem at hand is solved by (i) writing a logic program whose answer sets correspond to the solutions of the problem, and by (ii) computing the answer sets of the program using ananswer set solveras a search engine. Typically, a programmer creates a series of gradually improving logic programs for a particular problem when optimizing program length and execution time on a particular solver. This leads the programmer to a meta-level problem of ensuring that the programs are equivalent, i.e., they give rise to the same answer sets. To ease answer set programming at methodological level, we propose a translation-based method for verifying the equivalence of logic programs. The basic idea is to translate logic programsPandQunder consideration into a single logic program EQT(P,Q) whose answer sets (if such exist) yield counter-examples to the equivalence ofPandQ. The method is developed here in a slightly more general setting by taking thevisibilityof atoms properly into account when comparing answer sets. The translation-based approach presented in the paper has been implemented as a translator calledlpeqthat enables the verification of weak equivalence within thesmodelssystem using the same search engine as for the search of models. Our experiments withlpeqandsmodelssuggest that establishing the equivalence of logic programs in this way is in certain cases much faster than naive cross-checking of answer sets. Tomi Janhunen, Emilia Oikarinen |
Theory Pract. Log. Program. | 1 |
| 2006 | What's a Head Without a Body?
Christian Anger, Martin Gebser, Tomi Janhunen, Torsten Schaub |
ECAI | 3 |
| 2006 | On Probing and Multi-Threading in Platypus
Jean Gressmann, Tomi Janhunen, Robert E. Mercer, Torsten Schaub, Sven Thiele, Richard Tichy |
ECAI | 2 |
| 2006 | Modular Equivalence for Normal Logic Programs
Emilia Oikarinen, Tomi Janhunen |
ECAI | 2 |
| 2006 | Unfolding partiality and disjunctions in stable model semanticsabstractThis article studies an implementation methodology for partial and disjunctive stable models where partiality and disjunctions are unfolded from a logic program so that an implementation of stable models for normal (disjunction-free) programs can be used as the core inference engine. The unfolding is done in two separate steps. First, it is shown that partial stable models can be captured by total stable models using a simple linear and modular program transformation. Hence, reasoning tasks concerning partial stable models can be solved using an implementation of total stable models. Disjunctive partial stable models have been lacking implementations which now become available as the translation handles also the disjunctive case. Second, it is shown how total stable models of disjunctive programs can be determined by computing stable models for normal programs. Thus an implementation of stable models of normal programs can be used as a core engine for implementing disjunctive programs. The feasibility of the approach is demonstrated by constructing a system for computing stable models of disjunctive programs using the SMODELS system as the core engine. The performance of the resulting system is compared to that of DLV, which is a state-of-the-art system for disjunctive programs. Tomi Janhunen, Ilkka Niemelä, Dietmar Seipel, Patrik Simons, Jia-Huai You |
ACM Trans. Comput. Log. | 1 |
| 2005 | Platypus: A Platform for Distributed Answer Set Solving
Jean Gressmann, Tomi Janhunen, Robert E. Mercer, Torsten Schaub, Sven Thiele, Richard Tichy |
LPNMR | 2 |
| 2005 | circ2dlp - Translating Circumscription into Disjunctive Logic Programming
Emilia Oikarinen, Tomi Janhunen |
LPNMR | 2 |
| 2004 | Representing Normal Programs with Clauses
Tomi Janhunen |
ECAI | 1 |
| 2004 | Capturing Parallel Circumscription with Disjunctive Logic Programs
Tomi Janhunen, Emilia Oikarinen |
JELIA | 1 |
| 2004 | GNT - A Solver for Disjunctive Logic Programs
Tomi Janhunen, Ilkka Niemelä |
LPNMR | 1 |
| 2004 | LPEQ and DLPEQ - Translators for Automated Equivalence Testing of Logic Programs
Tomi Janhunen, Emilia Oikarinen |
LPNMR | 1 |
| 2004 | Verifying the Equivalence of Logic Programs in the Disjunctive Case
Emilia Oikarinen, Tomi Janhunen |
LPNMR | 2 |
| 2003 | Evaluating the effect of semi-normality on the expressiveness of defaults
Tomi Janhunen |
Artif. Intell. | 1 |
| 2002 | Testing the Equivalence of Logic Programs under Stable Model Semantics
Tomi Janhunen, Emilia Oikarinen |
JELIA | 1 |
| 2001 | On the Effect of Default Negation on the Expressiveness of Disjunctive Rules
Tomi Janhunen |
LPNMR | 1 |
| 2000 | Unfolding Partiality and Disjunctions in Stable Model Semantics
Tomi Janhunen, Ilkka Niemelä, Patrik Simons, Jia-Huai You |
KR | 1 |
| 1999 | Classifying Semi-Normal Default Logic on the Basis of its Expressive Power
Tomi Janhunen |
LPNMR | 1 |
| 1997 | Separating Disbeliefs from Beliefs in Autoepistemic Reasoning
Tomi Janhunen |
LPNMR | 1 |
| 1996 | Representing Autoepistemic Introspection in Terms of Default Rules
Tomi Janhunen |
ECAI | 1 |