Giter VIP home page Giter VIP logo

Comments (4)

patrick-kidger avatar patrick-kidger commented on May 31, 2024 1

Using a CDE to compute the integral of its input path is straightforward. This is Example 3.2 in On Neural Differential Equations.

from torchcde.

patrick-kidger avatar patrick-kidger commented on May 31, 2024

Hey Deniz, thanks for your interest. The answer is that the control should include time as a channel. That is, assume we're given some data x_i observed at times t_i and let x be such that x(t_i) = x_i. Then you should drive the CDE by the path (t, x(t)), not just x(t).

If you check the technical statement of the theoretical result it should be including time as a channel. And it is for similar reasons that the paper also emphasises that time should be included as a channel when training models in practice. (As this really does affect expressivity of the model.)

Your example is a good one, though! This is actually the canonical example for demonstrating why time should be included as a channel: it's Example 3.8 in On Neural Differential Equations. And conversely there exist results on universal approximation, comparison-to-alternative-ODEs, etc. stating that you can approximate anything as long as you do include time as a channel.

from torchcde.

denizetkar avatar denizetkar commented on May 31, 2024

I appreciate the prompt reply 😊 I think now I understand why we must include also the time into the control path. However, I'm still wondering what exactly would be the form of such a neural CDE to calculate the integral of its "input path" 🤔 Do you think it is something trivial or would it be some complicated set of functions, one for the input network, one for the neural vector field, and one for the output network (borrowing terminology from this paper)?

from torchcde.

denizetkar avatar denizetkar commented on May 31, 2024

That example is the perfect answer, brilliant! Thank you.

from torchcde.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.