Zur Hauptnavigation wechseln Zur Suche wechseln Zum Hauptinhalt wechseln

Hierarchy Guided Extraction with Answer Set Programming and Large Language Models

  • Massimo Busiello

    Studienabschlussarbeit: Masterarbeit

    Abstract

    The extraction of structured information from text in the form of natural language followed
    by logical reasoning remains a challenge for modern computer systems, but recent advances
    in Large Language Models (LLMs) have brought great improvements. This thesis work
    introduces a new Neurosymbolic framework that implements LLMs for data extraction, and
    Answer Set Programming (ASP) for logical evaluation. Previous similar neurosymbolic
    pipelines suffer from significant computational bottlenecks, caused by the evaluation of each
    target predicate during the extraction phase, even when not necessary. To overcome these
    inefficiencies, Hierarchical Guided eXtraction (HGX) completely overhauls the original flat
    extraction pipeline by instead implementing a hierarchical parent-child structure. This structure
    is recursively traversed, and through macro-level routing and pruning of entire sub-trees, HGX
    bypasses entire predicate blocks, so as to avoid the redundant evaluation of their logical guards.
    HGX also implements many features that improve efficiency and simplify mechanisms already
    present in prior frameworks, such as a caching system and a well-defined way to create
    JSON specifications for schema-constrained LLM output generation. It is proven through
    exhaustive multi-domain benchmarks that HGX achieves up to a 92% reduction in ASP solver
    communications while maintaining solution correctness when compared to the initial flat
    extraction strategy.
    Datum der Bewilligung2026
    OriginalspracheEnglisch (Amerika)
    Gradverleihende Hochschule
    • FH OÖ
    Betreuer/-inStephan Dreiseitl (Betreuer*in) & Mario Alviano (Betreuer*in)

    Studiengang

    • Software Engineering

    Zitieren

    '