Skip to main content

Showing 1–12 of 12 results for author: Freivalds, K

Searching in archive cs. Search in all archives.
.
  1. arXiv:2404.18181  [pdf, other

    cs.RO

    Learning to Move Objects with Fluid Streams in a Differentiable Simulation

    Authors: Karlis Freivalds, Laura Leja, Oskars Teikmanis

    Abstract: We introduce a method for manipulating objects in three-dimensional space using controlled fluid streams. To achieve this, we train a neural network controller in a differentiable simulation and evaluate it in a simulated environment consisting of an 8x8 grid of vertical emitters. By carrying out various horizontal displacement tasks such as moving objects to specific positions while reacting to e… ▽ More

    Submitted 28 April, 2024; originally announced April 2024.

    Comments: 8 pages, 7 figures

  2. arXiv:2309.05295  [pdf, other

    cs.LG cs.AI

    Discrete Denoising Diffusion Approach to Integer Factorization

    Authors: Karlis Freivalds, Emils Ozolins, Guntis Barzdins

    Abstract: Integer factorization is a famous computational problem unknown whether being solvable in the polynomial time. With the rise of deep neural networks, it is interesting whether they can facilitate faster factorization. We present an approach to factorization utilizing deep neural networks and discrete denoising diffusion that works by iteratively correcting errors in a partially-correct solution. T… ▽ More

    Submitted 11 September, 2023; originally announced September 2023.

    Comments: International Conference on Artificial Neural Networks ICANN 2023

  3. arXiv:2212.00121  [pdf, other

    cs.AI cs.LG

    Denoising Diffusion for Sampling SAT Solutions

    Authors: Karlis Freivalds, Sergejs Kozlovics

    Abstract: Generating diverse solutions to the Boolean Satisfiability Problem (SAT) is a hard computational problem with practical applications for testing and functional verification of software and hardware designs. We explore the way to generate such solutions using Denoising Diffusion coupled with a Graph Neural Network to implement the denoising function. We find that the obtained accuracy is similar to… ▽ More

    Submitted 30 November, 2022; originally announced December 2022.

    Comments: NeurIPS 2022 Workshop on Score-Based Methods

  4. arXiv:2207.13667  [pdf, other

    cs.LG

    Unsupervised Training for Neural TSP Solver

    Authors: Elīza Gaile, Andis Draguns, Emīls Ozoliņš, Kārlis Freivalds

    Abstract: There has been a growing number of machine learning methods for approximately solving the travelling salesman problem. However, these methods often require solved instances for training or use complex reinforcement learning approaches that need a large amount of tuning. To avoid these problems, we introduce a novel unsupervised learning approach. We use a relaxation of an integer linear program fo… ▽ More

    Submitted 27 July, 2022; originally announced July 2022.

  5. arXiv:2108.00527  [pdf, other

    cs.LG cs.NE

    Gates Are Not What You Need in RNNs

    Authors: Ronalds Zakovskis, Andis Draguns, Eliza Gaile, Emils Ozolins, Karlis Freivalds

    Abstract: Recurrent neural networks have flourished in many areas. Consequently, we can see new RNN cells being developed continuously, usually by creating or using gates in a new, original way. But what if we told you that gates in RNNs are redundant? In this paper, we propose a new recurrent cell called Residual Recurrent Unit (RRU) which beats traditional cells and does not employ a single gate. It is ba… ▽ More

    Submitted 21 November, 2023; v1 submitted 1 August, 2021; originally announced August 2021.

    Comments: Published in Artificial Intelligence and Soft Computing. ICAISC 2023. Lecture Notes in Computer Science(), vol 14125. Springer, Cham., and is available online at https://doi.org/10.1007/978-3-031-42505-9_27

  6. Goal-Aware Neural SAT Solver

    Authors: Emils Ozolins, Karlis Freivalds, Andis Draguns, Eliza Gaile, Ronalds Zakovskis, Sergejs Kozlovics

    Abstract: Modern neural networks obtain information about the problem and calculate the output solely from the input values. We argue that it is not always optimal, and the network's performance can be significantly improved by augmenting it with a query mechanism that allows the network at run time to make several solution trials and get feedback on the loss value on each trial. To demonstrate the capabili… ▽ More

    Submitted 30 May, 2022; v1 submitted 14 June, 2021; originally announced June 2021.

  7. arXiv:2006.15892  [pdf, other

    cs.LG stat.ML

    Matrix Shuffle-Exchange Networks for Hard 2D Tasks

    Authors: Emīls Ozoliņš, Kārlis Freivalds, Agris Šostaks

    Abstract: Convolutional neural networks have become the main tools for processing two-dimensional data. They work well for images, yet convolutions have a limited receptive field that prevents its applications to more complex 2D tasks. We propose a new neural model, called Matrix Shuffle-Exchange network, that can efficiently exploit long-range dependencies in 2D data and has comparable speed to a convoluti… ▽ More

    Submitted 5 October, 2020; v1 submitted 29 June, 2020; originally announced June 2020.

  8. arXiv:2004.04662  [pdf, other

    cs.LG cs.SD eess.AS

    Residual Shuffle-Exchange Networks for Fast Processing of Long Sequences

    Authors: Andis Draguns, Emīls Ozoliņš, Agris Šostaks, Matīss Apinis, Kārlis Freivalds

    Abstract: Attention is a commonly used mechanism in sequence processing, but it is of O(n^2) complexity which prevents its application to long sequences. The recently introduced neural Shuffle-Exchange network offers a computation-efficient alternative, enabling the modelling of long-range dependencies in O(n log n) time. The model, however, is quite complex, involving a sophisticated gating mechanism deriv… ▽ More

    Submitted 14 January, 2021; v1 submitted 6 April, 2020; originally announced April 2020.

    Comments: 35th AAAI Conference on Artificial Intelligence (AAAI-21)

  9. arXiv:1907.07897  [pdf, other

    cs.LG cs.NE

    Neural Shuffle-Exchange Networks -- Sequence Processing in O(n log n) Time

    Authors: Kārlis Freivalds, Emīls Ozoliņš, Agris Šostaks

    Abstract: A key requirement in sequence to sequence processing is the modeling of long range dependencies. To this end, a vast majority of the state-of-the-art models use attention mechanism which is of O($n^2$) complexity that leads to slow execution for long sequences. We introduce a new Shuffle-Exchange neural network model for sequence to sequence tasks which have O(log n) depth and O(n log n) total com… ▽ More

    Submitted 28 October, 2019; v1 submitted 18 July, 2019; originally announced July 2019.

    Comments: 33rd Conference on Neural Information Processing Systems (NeurIPS 2019), Vancouver, Canada

  10. Graph Compact Orthogonal Layout Algorithm

    Authors: Karlis Freivalds, Jans Glagolevs

    Abstract: There exist many orthogonal graph drawing algorithms that minimize edge crossings or edge bends, however they produce unsatisfactory drawings in many practical cases. In this paper we present a grid-based algorithm for drawing orthogonal graphs with nodes of prescribed size. It distinguishes by creating pleasant and compact drawings in relatively small running time. The main idea is to minimize th… ▽ More

    Submitted 24 July, 2018; originally announced July 2018.

    Journal ref: Freivalds K., Glagolevs J. (2014) Graph Compact Orthogonal Layout Algorithm. In: Fouilhoux P., Gouveia L., Mahjoub A., Paschos V. (eds) Combinatorial Optimization. ISCO 2014. Lecture Notes in Computer Science, vol 8596. Springer, Cham

  11. A Statistical Method for Object Counting

    Authors: Jans Glagolevs, Karlis Freivalds

    Abstract: In this paper we present a new object counting method that is intended for counting similarly sized and mostly round objects. Unlike many other algorithms of the same purpose, the proposed method does not rely on identifying every object, it uses statistical data obtained from the image instead. The method is evaluated on images with human bone cells, oranges and pills achieving good accuracy. Its… ▽ More

    Submitted 22 July, 2018; originally announced July 2018.

    Journal ref: In Proceedings of the International Conference on Graphics and Signal Processing (ICGSP '17). ACM, New York, NY, USA, 61-64 (2017)

  12. arXiv:1702.08727  [pdf, other

    cs.NE

    Improving the Neural GPU Architecture for Algorithm Learning

    Authors: Karlis Freivalds, Renars Liepins

    Abstract: Algorithm learning is a core problem in artificial intelligence with significant implications on automation level that can be achieved by machines. Recently deep learning methods are emerging for synthesizing an algorithm from its input-output examples, the most successful being the Neural GPU, capable of learning multiplication. We present several improvements to the Neural GPU that substantially… ▽ More

    Submitted 4 July, 2018; v1 submitted 28 February, 2017; originally announced February 2017.

    Comments: Minor edits

    Journal ref: NAMPI v2 - Neural Abstract Machines & Program Induction v2, 2018