The swish function looks a lot like a call payoff, but is differentiable at x=0 (aiding back propagation in neural network calibration).

Are there any mathematical finance problems that could benefit from this function's properties?

The swish function looks a lot like a call payoff, but is differentiable at x=0 (aiding back propagation in neural network calibration).

Are there any mathematical finance problems that could benefit from this function's properties?

Are there any mathematical finance problems that could benefit from this function's properties?

- Cuchulainn
**Posts:**64439**Joined:****Location:**Drosophila melanogaster-
**Contact:**

The sigmoidal functional crops in a number of places

https://onlinelibrary.wiley.com/doi/epd ... wilm.10366

Here (Paul W's brainchild) we use it to model volatility with memory.

Another use is choosing nice and smooth activation functions (some are more equal than others). and here is one case for Heston. The smoother the a.f. the better the convergence, especially if you want to compute greeks. It could be competitive.

https://www.datasim.nl/application/file ... 423101.pdf

Smooth functions that approximate functions with kinks would be a boon. The whole issue of which a.f. is best seems to be an open issue in ML, which is very much in the 'try it and see what happens' kind of mode in general.

// I am having trouble relating it to call payoff; is it a smoother around K?

https://onlinelibrary.wiley.com/doi/epd ... wilm.10366

Here (Paul W's brainchild) we use it to model volatility with memory.

Another use is choosing nice and smooth activation functions (some are more equal than others). and here is one case for Heston. The smoother the a.f. the better the convergence, especially if you want to compute greeks. It could be competitive.

https://www.datasim.nl/application/file ... 423101.pdf

Smooth functions that approximate functions with kinks would be a boon. The whole issue of which a.f. is best seems to be an open issue in ML, which is very much in the 'try it and see what happens' kind of mode in general.

// I am having trouble relating it to call payoff; is it a smoother around K?

"Compatibility means deliberately repeating other people's mistakes."

David Wheeler

http://www.datasimfinancial.com

http://www.datasim.nl

David Wheeler

http://www.datasimfinancial.com

http://www.datasim.nl

Up close it doesn't look like a good approximation to a call payoff

But zoom out and the smoothness around k (=0) is barely noticeable

https://www.wolframalpha.com/input/?i=x ... 28-x%29%29

But zoom out and the smoothness around k (=0) is barely noticeable

https://www.wolframalpha.com/input/?i=x ... 28-x%29%29

- Cuchulainn
**Posts:**64439**Joined:****Location:**Drosophila melanogaster-
**Contact:**

If the objective is to have a smoothed payoff, don't we need some kind of mollifier?(?)

"Compatibility means deliberately repeating other people's mistakes."

David Wheeler

http://www.datasimfinancial.com

http://www.datasim.nl

David Wheeler

http://www.datasimfinancial.com

http://www.datasim.nl

Yes. The Wikipedia version of the function has a Beta parameter to control the degree of smoothing. I removed it from the wolfram alpha (you'd think they'd be in beta by now) link to keep the plot as 2D.

- Cuchulainn
**Posts:**64439**Joined:****Location:**Drosophila melanogaster-
**Contact:**

I have to think how to answer this question. The answer almost certainly "no", because I feel We want to smooth the edges, I remember @Alan providing @Erstwhile proposing a smoothing function.The swish function looks a lot like a call payoff, but is differentiable at x=0 (aiding back propagation in neural network calibration).

Are there any mathematical finance problems that could benefit from this function's properties?

1. activation functions weren't built for this kind of problem.

2. It looks like a call, but that is probably coincidence. Sheet metal design is similar.

"Compatibility means deliberately repeating other people's mistakes."

David Wheeler

http://www.datasimfinancial.com

http://www.datasim.nl

David Wheeler

http://www.datasimfinancial.com

http://www.datasim.nl

- Cuchulainn
**Posts:**64439**Joined:****Location:**Drosophila melanogaster-
**Contact:**

David Wheeler

http://www.datasimfinancial.com

http://www.datasim.nl

Thanks. The solution in that thread is more generic and useful. It also means that now I don't feel guilty about abandoning this train of thought.

I understand that this function can help neural network calibration. But if you need to model a true call function, it might indicate that neural networks are inefficient to that purpose. Note that neural networks are suffering from convergence problems for Finance applications.The swish function looks a lot like a call payoff, but is differentiable at x=0 (aiding back propagation in neural network calibration).