Project details for Aika

Logo Aika 0.14

by molzberger - February 4, 2018, 19:34:25 CET [ Project Homepage BibTeX Download ]

view ( today), download ( today ), 0 subscriptions


Aika is a Java library that automatically extracts and annotates semantic information into text. In case this information is ambiguous, Aika will generate several hypothetical interpretations concerning the meaning of the text and pick the most likely one. The Aika algorithm is based on various ideas and approaches from the field of AI such as artificial neural networks, frequent pattern mining and logic based expert systems. It can be applied to a broad spectrum of text analysis task and combines these concepts in a single algorithm.

Aika allows to model linguistic concepts like words, word meanings (entities), categories (e.g. person name, city), grammatical word types and so on as neurons in a neural network. By choosing appropriate synapse weights, these neurons can take on different functions within the network. For instance neurons whose synapse weights are chosen to mimic a logical AND can be used to match an exact phrase. On the other hand neurons with an OR characteristic can be used to connect a large list of word entity neurons to determine a category like 'city' or 'profession'.

Aika is based on non-monotonic logic, meaning that it first draws tentative conclusions only. In other words, Aika is able to generate multiple mutually exclusive interpretations of a word, phrase, or sentence, and select the most likely interpretation. For example a neuron representing a specific meaning of a given word can be linked through a negatively weighted synapse to a neuron representing an alternative meaning of this word. In this case these neurons will exclude each other. These synapses might even be cyclic. Aika can resolve such recurrent feedback links by making tentative assumptions and starting a search for the highest ranking interpretation.

In contrast to conventional neural networks, Aika propagates activations objects through its network, not just activation values. These activation objects refer to a text segment and an interpretation.

Aika consists of two layers. The neural layer, containing all the neurons and continuously weighted synapses and underneath that the discrete logic layer, containing a boolean representation of all the neurons. The logic layer uses a frequent pattern lattice to efficiently store the individual logic nodes. This architecture allows Aika to process extremely large networks since only neurons that are activated by a logic node need to compute their weighted sum and their activation value. This means that the fast majority of neurons stays inactive during the processing of a given text.

To prevent that the whole network needs to stay in memory during processing, Aika uses the provider pattern to suspend individual neurons or logic nodes to an external storage like a mongo db.

Changes to previous version:

Aika Version 0.14 (2018-02-04)
- Caching of partially computed states in the neural network during the interpretation search.
- Refactoring of the interpretation search. Iterative implementation of the interpretation search to prevent stack overflows. Much more detailed debugging output.
- Ongoing work on the training algorithms.

Aika Version 0.13 (2018-01-20)
- API cleanups: Input -> Synapse.Builder, Activation.Builder
- Optimization and simplification of the interpretation search.
- Refactoring of the range matching within synapses.
- Ongoing work on the training algorithms.

BibTeX Entry: Download
Supported Operating Systems: Platform Agnostic
Data Formats: Txt
Tags: Information Extraction, Inference, Neural Network, Text Mining
Archive: download here


No one has posted any comments yet. Perhaps you'd like to be the first?

Leave a comment

You must be logged in to post comments.