paper-with-me

Papers

Extended Magic for Negation: Efficient Demand-Driven Evaluation of Stratified Datalog with Precise Complexity Guarantees

2019-09-18 · K. Tuncay Tekle, Yanhong A. Liu

Given a set of Datalog rules, facts, and a query, answers to the query can be inferred bottom-up starting from the facts or top-down starting from the query. For efficiency, top-down evaluation is extended with memoization of inferred facts, and bottom-up evaluation is performed after transformations to make rules driven by the demand from the query. Prior work has shown their precise complexity analysis and relationships. However, when Datalog is extended with even stratified negation, which has a simple and universally accepted semantics, transformations to make rules demand-driven may result in non-stratified negation, which has had many complex semantics and evaluation methods. This paper presents (1) a simple extension to demand transformation, a transformation to make rules demand-driven for Datalog without negation, to support stratified negation, and (2) a simple extension to an optimal bottom-up evaluation method for Datalog with stratified negation, to handle non-stratified negation in the resulting rules. We show that the method provides precise complexity guarantees. It is also optimal in that only facts needed for top-down evaluation of the query are inferred and each firing of a rule to infer such a fact takes worst-case constant time. We extend the precise relationship between top-down evaluation and demand-driven bottom-up evaluation to Datalog with stratified negation. Finally, we show experimental results for performance, as well as applications to previously challenging examples.

📄 PDF Abstract BibTeX arXiv:1909.08246

Code (0)

등록된 구현이 없습니다.

Tasks

Negation

Similar Papers 제목 키워드 기반

Enhancing magic sets with an application to ontological reasoning

2019-07-19 · Mario Alviano, Nicola Leone, Pierfrancesco Veltri, Jessica Zangari

Magic sets are a Datalog to Datalog rewriting technique to optimize query answering. The rewritten program focuses on a portion of the stable model(s) of the input program which is sufficient to answer the given query. H…

Negation

NeIn: Telling What You Don't Want

2024-09-09 · Nhat-Tan Bui, Dinh-Hieu Hoang, Quoc-Huy Trinh, Minh-Triet Tran 외

Negation is a fundamental linguistic concept used by humans to convey information that they do not desire. Despite this, there has been minimal research specifically focused on negation within vision-language tasks. This…

BenchmarkingNegation

MagicVideo-V2: Multi-Stage High-Aesthetic Video Generation

2024-01-09 · Weimin WANG, Jiawei Liu, Zhijie Lin, Jiangqiao Yan 외

The growing demand for high-fidelity video generation from textual descriptions has catalyzed significant research in this field. In this work, we introduce MagicVideo-V2 that integrates the text-to-image model, video mo…

MORPHVideo Generation

Know "No'' Better: A Data-Driven Approach for Enhancing Negation Awareness in CLIP

2025-01-19 · Junsung Park, Jungbeom Lee, Jongyoon Song, Sangwon Yu 외

While CLIP has significantly advanced multimodal understanding by bridging vision and language, the inability to grasp negation - such as failing to differentiate concepts like "parking" from "no parking" - poses substan…

Image GenerationImage SegmentationLanguage ModelingLanguage Modelling+6

MagicVL-2B: Empowering Vision-Language Models on Mobile Devices with Lightweight Visual Encoders via Curriculum Learning

2025-08-03 · Yi Liu, Xiao Xu, Zeyu Xu, Meng Zhang 외 arxiv

Vision-Language Models (VLMs) have achieved remarkable breakthroughs in recent years, enabling a diverse array of applications in everyday life. However, the substantial computational and storage demands of VLMs pose sig…