Nadezda A. Knorozova

Engineer of Database Engines

RelationalAI

  • Query Optimization
  • Query Planning
  • Semantic Rewrites
  • Algebraic Query Decomposition
  • Query Language Compilation
Portrait of Nadezda Knorozova

Profile

Computer scientist with over ten years of experience building database engines, working on state-of-the-art techniques for query optimization: compilation, rewriting and planning of analytical workloads, recursive and graph queries for efficient execution.

Nadezda is a Database Engineer in the Query Optimization Team at RelationalAI, and previously at LogicBlox. Nadezda is also President and Co-founder of IRIS-AI. She holds an MSc with Distinction in Computer Science from the University of Oxford.

Expertise in Database Engines

Built in the Query Optimization Teams at RelationalAI and LogicBlox, working on relational database engines for declarative, Datalog-style programs: analytical workloads, recursive programs, and graph and path queries.

Query Rewriting

Logical rewriting of queries for performance, query safety analysis, and efficient decorrelation algorithms.

  • Logical rewriting
  • Decorrelation
  • Query safety

Factorized Evaluation

Optimizations in the FAQ framework: algebraic query rewrites based on tree decompositions and worst-case analysis, for asymptotically faster evaluation.

  • FAQ
  • Tree decompositions

Query Planning

Cost-based physical query planning, materialization, indexing and common subexpression elimination.

  • Cost-based optimization
  • Materialization
  • Indexing

Query Language Compilation

Compilers for declarative query languages, with program-level optimizations across rules and queries.

  • Datalog
  • Recursive programs

Worst-case Optimal Joins

Query evaluation algorithms whose runtime never exceeds the largest possible output size; a notable example is the Leapfrog Triejoin.

  • Join algorithms
  • Leapfrog Triejoin

In-database Machine Learning

Query-language constructs for seamless integration of ML algorithms into the database system, with full and incremental evaluation.

  • Incremental evaluation
  • ML integration

Experience

Education

Research

Alongside engineering, Nadezda has done research in databases and machine learning: an MSc thesis at the University of Oxford on the efficient evaluation of queries with disequalities; a divide-and-conquer algorithm for Voronoi diagrams in MapReduce, in the Database Research Lab at the University of Minnesota; and, since 2022, independent research on the expressivity of recurrent neural networks and the sample complexity of automata learning.

List of Publications

  1. KR2024
    On the Expressivity of Recurrent Neural Cascades with IdentityNadezda Alexandrovna Knorozova, Alessandro Ronca
    RNNsExpressivityAutomata Theory
    PaperarXiv

    Recurrent Neural Cascades (RNC) are the class of recurrent neural networks with no cyclic dependencies among recurrent neurons. Their subclass RNC+ with positive recurrent weights has been shown to be closely connected to the star-free regular languages, which are the expressivity of many well-established temporal logics. The existing expressivity results show that the regular languages captured by RNC+ are the star-free ones, and they leave open the possibility that RNC+ may capture languages beyond regular. We exclude this possibility for languages that include an identity element, i.e., an input that can occur an arbitrary number of times without affecting the output. Namely, in the presence of an identity element, we show that the languages captured by RNC+ are exactly the star-free regular languages. Identity elements are ubiquitous in temporal patterns, and hence our results apply to a large number of applications. The implications of our results go beyond expressivity. At their core, we establish a close structural correspondence between RNC+ and semiautomata cascades, showing that every neuron can be equivalently captured by a three-state semiautomaton. A notable consequence of this result is that RNC+ are no more succinct than cascades of three-state semiautomata.

  2. AAAI2024
    On the Expressivity of Recurrent Neural CascadesNadezda Alexandrovna Knorozova, Alessandro Ronca
    RNNsExpressivityAutomata Theory
    PaperarXiv

    Recurrent Neural Cascades (RNCs) are the recurrent neural networks with no cyclic dependencies among recurrent neurons. This class of recurrent networks has received a lot of attention in practice. Besides training methods for a fixed architecture such as backpropagation, the cascade architecture naturally allows for constructive learning methods, where recurrent nodes are added incrementally one at a time, often yielding smaller networks. Furthermore, acyclicity amounts to a structural prior that even for the same number of neurons yields a more favourable sample complexity compared to a fully-connected architecture. A central question is whether the advantages of the cascade architecture come at the cost of a reduced expressivity. We provide new insights into this question. We show that the regular languages captured by RNCs with sign and tanh activation with positive recurrent weights are the star-free regular languages. In order to establish our results we developed a novel framework where capabilities of RNCs are accessed by analysing which semigroups and groups a single neuron is able to implement. A notable implication of our framework is that RNCs can achieve the expressivity of all regular languages by introducing neurons that can implement groups.

  3. AAAI2023
    Automata Cascades: Expressivity and Sample ComplexityAlessandro Ronca, Nadezda Alexandrovna Knorozova, Giuseppe De Giacomo
    Automata TheoryExpressivitySample Complexity
    PaperarXiv

    Every automaton can be decomposed into a cascade of basic prime automata. This is the Prime Decomposition Theorem by Krohn and Rhodes. Guided by this theory, we propose automata cascades as a structured, modular, way to describe automata as complex systems made of many components, each implementing a specific functionality. Any automaton can serve as a component; using specific components allows for a fine-grained control of the expressivity of the resulting class of automata; using prime automata as components implies specific expressivity guarantees. Moreover, specifying automata as cascades allows for describing the sample complexity of automata in terms of their components. We show that the sample complexity is linear in the number of components and the maximum complexity of a single component, modulo logarithmic factors. This opens to the possibility of learning automata representing large dynamical systems consisting of many parts interacting with each other. It is in sharp contrast with the established understanding of the sample complexity of automata, described in terms of the overall number of states and input letters, which implies that it is only possible to learn automata where the number of states is linear in the amount of data available. Instead our results show that one can learn automata with a number of states that is exponential in the amount of data available.

  4. The VLDB Journal2019
    Scalable Computational Geometry in MapReduceYuan Li, Ahmed Eldawy, Jie Xue, Nadezda Knorozova, Mohamed F. Mokbel, Ravi Janardan
    Computational GeometryMapReduceDistributed Algorithms
    Paper

    Hadoop, employing the MapReduce programming paradigm, has been widely accepted as the standard framework for analyzing big data in distributed environments. Unfortunately, this rich framework has not been exploited for processing large-scale computational geometry operations. This paper introduces CG_Hadoop; a suite of scalable and efficient MapReduce algorithms for various fundamental computational geometry operations, namely polygon union, Voronoi diagram, skyline, convex hull, farthest pair, and closest pair, which present a set of key components for other geometric algorithms. For each computational geometry operation, CG_Hadoop has two versions, one for the Apache Hadoop system and one for the SpatialHadoop system, a Hadoop-based system that is more suited for spatial operations. These proposed algorithms form the nucleus of a comprehensive MapReduce library of computational geometry operations. Extensive experimental results run on a cluster of 25 machines over datasets of size up to 3.8B records show that CG_Hadoop achieves up to 14x and 115x better performance than traditional algorithms when using Hadoop and SpatialHadoop systems, respectively.

Contact

To get in touch, please write by email.

Personal Interests

  • Family Olive GroveOlive oil making, ItalyAway from work, taking care of her olive grove in Italy is one of the things Nadezda enjoys most, with every effort repaid by an excellent olive oil.