Skip to main content

Showing 1–20 of 20 results for author: De Felice, G

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

    cs.LG cs.AI

    Causally Reliable Concept Bottleneck Models

    Authors: Giovanni De Felice, Arianna Casanova Flores, Francesco De Santis, Silvia Santini, Johannes Schneider, Pietro Barbiero, Alberto Termine

    Abstract: Concept-based models are an emerging paradigm in deep learning that constrains the inference process to operate through human-interpretable variables, facilitating explainability and human interaction. However, these architectures, on par with popular opaque neural models, fail to account for the true causal mechanisms underlying the target phenomena represented in the data. This hampers their abi… ▽ More

    Submitted 2 June, 2025; v1 submitted 6 March, 2025; originally announced March 2025.

  2. arXiv:2410.14630  [pdf, other

    cs.LG cs.AI

    On the Regularization of Learnable Embeddings for Time Series Forecasting

    Authors: Luca Butera, Giovanni De Felice, Andrea Cini, Cesare Alippi

    Abstract: In forecasting multiple time series, accounting for the individual features of each sequence can be challenging. To address this, modern deep learning methods for time series analysis combine a shared (global) model with local layers, specific to each time series, often implemented as learnable embeddings. Ideally, these local embeddings should encode meaningful representations of the unique dynam… ▽ More

    Submitted 13 February, 2025; v1 submitted 18 October, 2024; originally announced October 2024.

    Comments: Accepted at TMLR

    Journal ref: L. Butera, G. D. Felice, A. Cini, and C. Alippi. On the regularization of learnable embeddings for time series forecasting. Transactions on Machine Learning Research, 2025. ISSN 2835-8856. URL https://openreview.net/forum?id=F5ALCh3GWG

  3. arXiv:2402.12598  [pdf, other

    cs.LG cs.AI

    Graph-based Virtual Sensing from Sparse and Partial Multivariate Observations

    Authors: Giovanni De Felice, Andrea Cini, Daniele Zambon, Vladimir V. Gusev, Cesare Alippi

    Abstract: Virtual sensing techniques allow for inferring signals at new unmonitored locations by exploiting spatio-temporal measurements coming from physical sensors at different locations. However, as the sensor coverage becomes sparse due to costs or other constraints, physical proximity cannot be used to support interpolation. In this paper, we overcome this challenge by leveraging dependencies between t… ▽ More

    Submitted 19 February, 2024; originally announced February 2024.

    Comments: Accepted at ICLR 2024

  4. arXiv:2311.17813  [pdf, other

    cs.CL math.CT

    Higher-Order DisCoCat (Peirce-Lambek-Montague semantics)

    Authors: Alexis Toumi, Giovanni de Felice

    Abstract: We propose a new definition of higher-order DisCoCat (categorical compositional distributional) models where the meaning of a word is not a diagram, but a diagram-valued higher-order function. Our models can be seen as a variant of Montague semantics based on a lambda calculus where the primitives act on string diagrams rather than logical formulae. As a special case, we show how to translate from… ▽ More

    Submitted 29 November, 2023; originally announced November 2023.

    Comments: 19 pages, 11 figures

  5. arXiv:2311.10608  [pdf, ps, other

    math.CT cs.MS

    DisCoPy: the Hierarchy of Graphical Languages in Python

    Authors: Alexis Toumi, Richie Yeung, Boldizsár Poór, Giovanni de Felice

    Abstract: DisCoPy is a Python toolkit for computing with monoidal categories. It comes with two flexible data structures for string diagrams: the first one for planar monoidal categories based on lists of layers, the second one for symmetric monoidal categories based on cospans of hypergraphs. Algorithms for functor application then allow to translate string diagrams into code for numerical computation, be… ▽ More

    Submitted 17 November, 2023; originally announced November 2023.

    Comments: 14 pages, 10 figures

  6. arXiv:2212.14494  [pdf, other

    cs.LO math.CT

    Coinductive Streams in Monoidal Categories

    Authors: Elena Di Lavore, Giovanni de Felice, Mario Román

    Abstract: We introduce monoidal streams. Monoidal streams are a generalization of causal stream functions, which can be defined in cartesian monoidal categories, to arbitrary symmetric monoidal categories. In the same way that streams provide semantics to dataflow programming with pure functions, monoidal streams provide semantics to dataflow programming with theories of processes represented by a symmetric… ▽ More

    Submitted 18 April, 2025; v1 submitted 29 December, 2022; originally announced December 2022.

    Comments: Expanded version of Monoidal Streams for Dataflow Programming, arXiv:2202.02061. We thank the reviewers at LMCS for multiple suggestions that have improved this version. 55 pages, 35 figures

  7. arXiv:2212.06636  [pdf, other

    cs.CL math.CT

    Categorical Tools for Natural Language Processing

    Authors: Giovanni de Felice

    Abstract: This thesis develops the translation between category theory and computational linguistics as a foundation for natural language processing. The three chapters deal with syntax, semantics and pragmatics. First, string diagrams provide a unified model of syntactic structures in formal grammars. Second, functors compute semantics by turning diagrams into logical, tensor, neural or quantum computation… ▽ More

    Submitted 13 December, 2022; originally announced December 2022.

  8. arXiv:2204.12985  [pdf, other

    quant-ph cs.LO

    Quantum Linear Optics via String Diagrams

    Authors: Giovanni de Felice, Bob Coecke

    Abstract: We establish a formal bridge between qubit-based and photonic quantum computing. We do this by defining a functor from the ZX calculus to linear optical circuits. In the process we provide a compositional theory of quantum linear optics which allows to reason about events involving multiple photons such as those required to perform linear-optical and fusion-based quantum computing.

    Submitted 15 November, 2023; v1 submitted 27 April, 2022; originally announced April 2022.

    Comments: In Proceedings QPL 2022, arXiv:2311.08375

    Journal ref: EPTCS 394, 2023, pp. 83-100

  9. arXiv:2202.02061  [pdf, other

    cs.LO cs.PL math.CT

    Monoidal Streams for Dataflow Programming

    Authors: Elena Di Lavore, Giovanni de Felice, Mario Román

    Abstract: We introduce monoidal streams: a generalization of causal stream functions to monoidal categories. In the same way that streams provide semantics to dataflow programming with pure functions, monoidal streams provide semantics to dataflow programming with theories of processes represented by a symmetric monoidal category. At the same time, monoidal streams form a feedback monoidal category, which c… ▽ More

    Submitted 4 February, 2022; originally announced February 2022.

    Comments: Draft, 36 pages

    MSC Class: 18M05

  10. arXiv:2110.04236  [pdf, other

    cs.CL cs.AI quant-ph

    lambeq: An Efficient High-Level Python Library for Quantum NLP

    Authors: Dimitri Kartsaklis, Ian Fan, Richie Yeung, Anna Pearson, Robin Lorenz, Alexis Toumi, Giovanni de Felice, Konstantinos Meichanetzidis, Stephen Clark, Bob Coecke

    Abstract: We present lambeq, the first high-level Python library for Quantum Natural Language Processing (QNLP). The open-source toolkit offers a detailed hierarchy of modules and classes implementing all stages of a pipeline for converting sentences to string diagrams, tensor networks, and quantum circuits ready to be used on a quantum computer. lambeq supports syntactic parsing, rewriting and simplificati… ▽ More

    Submitted 8 October, 2021; originally announced October 2021.

  11. arXiv:2107.06776  [pdf, other

    quant-ph cs.CL

    How to make qubits speak

    Authors: Bob Coecke, Giovanni de Felice, Konstantinos Meichanetzidis, Alexis Toumi

    Abstract: This is a story about making quantum computers speak, and doing so in a quantum-native, compositional and meaning-aware manner. Recently we did question-answering with an actual quantum computer. We explain what we did, stress that this was all done in terms of pictures, and provide many pointers to the related literature. In fact, besides natural language, many other things can be implemented in… ▽ More

    Submitted 2 July, 2021; originally announced July 2021.

    Comments: Invited contribution to "Quantum Computing in the Arts and Humanities"

  12. arXiv:2103.07960  [pdf, other

    quant-ph cs.LG math.CT

    Diagrammatic Differentiation for Quantum Machine Learning

    Authors: Alexis Toumi, Richie Yeung, Giovanni de Felice

    Abstract: We introduce diagrammatic differentiation for tensor calculus by generalising the dual number construction from rigs to monoidal categories. Applying this to ZX diagrams, we show how to calculate diagrammatically the gradient of a linear map with respect to a phase parameter. For diagrams of parametrised quantum circuits, we get the well-known parameter-shift rule at the basis of many variational… ▽ More

    Submitted 18 September, 2021; v1 submitted 14 March, 2021; originally announced March 2021.

    Comments: In Proceedings QPL 2021, arXiv:2109.04886

    Journal ref: EPTCS 343, 2021, pp. 132-144

  13. Grammar-aware sentence classification on quantum computers

    Authors: Konstantinos Meichanetzidis, Alexis Toumi, Giovanni de Felice, Bob Coecke

    Abstract: Natural language processing (NLP) is at the forefront of great advances in contemporary AI, and it is arguably one of the most challenging areas of the field. At the same time, in the area of Quantum Computing (QC), with the steady growth of quantum hardware and notable improvements towards implementations of quantum algorithms, we are approaching an era when quantum computers perform tasks that c… ▽ More

    Submitted 14 February, 2023; v1 submitted 7 December, 2020; originally announced December 2020.

    Journal ref: Quantum Mach. Intell. 5, 10 (2023)

  14. arXiv:2012.03755  [pdf, other

    quant-ph cs.CL

    Foundations for Near-Term Quantum Natural Language Processing

    Authors: Bob Coecke, Giovanni de Felice, Konstantinos Meichanetzidis, Alexis Toumi

    Abstract: We provide conceptual and mathematical foundations for near-term quantum natural language processing (QNLP), and do so in quantum computer scientist friendly terms. We opted for an expository presentation style, and provide references for supporting empirical evidence and formal statements concerning mathematical generality. We recall how the quantum model for natural language that we employ can… ▽ More

    Submitted 7 December, 2020; originally announced December 2020.

    Comments: 43 pages, lots of pictures

  15. Functorial Language Games for Question Answering

    Authors: Giovanni de Felice, Elena Di Lavore, Mario Román, Alexis Toumi

    Abstract: We present some categorical investigations into Wittgenstein's language-games, with applications to game-theoretic pragmatics and question-answering in natural language processing.

    Submitted 25 January, 2021; v1 submitted 19 May, 2020; originally announced May 2020.

    Comments: In Proceedings ACT 2020, arXiv:2101.07888

    Journal ref: EPTCS 333, 2021, pp. 311-321

  16. arXiv:2005.04147  [pdf, other

    cs.CL quant-ph

    Quantum Natural Language Processing on Near-Term Quantum Computers

    Authors: Konstantinos Meichanetzidis, Stefano Gogioso, Giovanni de Felice, Nicolò Chiappori, Alexis Toumi, Bob Coecke

    Abstract: In this work, we describe a full-stack pipeline for natural language processing on near-term quantum computers, aka QNLP. The language-modelling framework we employ is that of compositional distributional semantics (DisCoCat), which extends and complements the compositional structure of pregroup grammars. Within this model, the grammatical reduction of a sentence is interpreted as a diagram, encod… ▽ More

    Submitted 5 September, 2021; v1 submitted 8 May, 2020; originally announced May 2020.

    Comments: In Proceedings QPL 2020, arXiv:2109.01534. This work was originally commissioned by Cambridge Quantum Computing (CQC) and was carried out independently by the CQC team and the Hashberg team

    Journal ref: EPTCS 340, 2021, pp. 213-229

  17. arXiv:2001.05006  [pdf, other

    cs.CV

    A smile I could recognise in a thousand: Automatic identification of identity from dental radiography

    Authors: Oscar de Felice, Gustavo de Felice

    Abstract: In this paper, we present a method to automatically compare multiple radiographs in order to find the identity of a patient out of the dental features. The method is based on the matching of image features, previously extracted by computer vision algorithms for image descriptor recognition. The principal application (being also our motivation to study the problem) of such a method would be in vict… ▽ More

    Submitted 14 January, 2020; originally announced January 2020.

    Comments: 10 pages, 12 figures

  18. arXiv:1905.07408  [pdf, ps, other

    cs.CL cs.DB cs.LO math.CT

    Functorial Question Answering

    Authors: Giovanni de Felice, Konstantinos Meichanetzidis, Alexis Toumi

    Abstract: Distributional compositional (DisCo) models are functors that compute the meaning of a sentence from the meaning of its words. We show that DisCo models in the category of sets and relations correspond precisely to relational databases. As a consequence, we get complexity-theoretic reductions from semantics and entailment of a fragment of natural language to evaluation and containment of conjuncti… ▽ More

    Submitted 14 September, 2020; v1 submitted 17 May, 2019; originally announced May 2019.

    Comments: In Proceedings ACT 2019, arXiv:2009.06334

    Journal ref: EPTCS 323, 2020, pp. 84-94

  19. arXiv:1811.03277  [pdf, other

    cs.AI cs.CL cs.DB

    Towards Compositional Distributional Discourse Analysis

    Authors: Bob Coecke, Giovanni de Felice, Dan Marsden, Alexis Toumi

    Abstract: Categorical compositional distributional semantics provide a method to derive the meaning of a sentence from the meaning of its individual words: the grammatical reduction of a sentence automatically induces a linear map for composing the word vectors obtained from distributional semantics. In this paper, we extend this passage from word-to-sentence to sentence-to-discourse composition. To achieve… ▽ More

    Submitted 8 November, 2018; originally announced November 2018.

    Comments: In Proceedings CAPNS 2018, arXiv:1811.02701

    Journal ref: EPTCS 283, 2018, pp. 1-12

  20. A diagrammatic calculus of fermionic quantum circuits

    Authors: Giovanni de Felice, Amar Hadzihasanovic, Kang Feng Ng

    Abstract: We introduce the fermionic ZW calculus, a string-diagrammatic language for fermionic quantum computing (FQC). After defining a fermionic circuit model, we present the basic components of the calculus, together with their interpretation, and show how the main physical gates of interest in FQC can be represented in our language. We then list our axioms, and derive some additional equations. We prove… ▽ More

    Submitted 30 August, 2019; v1 submitted 3 January, 2018; originally announced January 2018.

    MSC Class: 81P68; 18D10

    Journal ref: Logical Methods in Computer Science, Volume 15, Issue 3 (September 2, 2019) lmcs:5143